MySQL Forums
Forum List  »  Newbie

Sort by last word in field
Posted by: kelvin
Date: July 19, 2005 10:16AM

Hello,

I am wondering if it is possible to write a query that will sort the results by the last word in a field.

e.g. (names are one field, I know should have been in seperate fields, inherited and there are to many files to edit)

Kevin Smith
Bob Jones
Betty Boop

Want to sort like

Betty Boop
Bob Jones
Kevin Smith

Any help or direct will be greatly appreciated.



Thanks, Kevin

Options: ReplyQuote


Subject
Written By
Posted
Sort by last word in field
July 19, 2005 10:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.