How can I find the number from string with a SQL query so I select data in asc and desc order with this number?
I have table bf_offers and a column title with values like this:
title --------------- Flat 20% off Flat 50% off Upto 40% off I want to find the number like 20, 50 & 40 and arrange title with in desc or asc order. If I set to desc order then data should be ordered like this:
title ----------------- Flat 50% off Flat 40% off Upto 20% off