Example:
If I have a database table named products
and a column within named product_title
contents under product_title
zyx
cba
defabc
What I require?
`zyx` should be changed `xyz`
`cba` should be changed `abc`
`defabc` should be changed `abcdef`
All values in alphabetical order.
What I tried?
I tried searching for the requirement, but I couldn't find any solution for it. I just want to know "is this possible"?
if this is not possible, how can i sort my records with most matched substring?