/ Published in: MySQL
Expand |
Embed | Plain Text
SELECT * FROM tablename ORDER BY col='text1' desc, col='text2' desc, col='text3' desc
You need to login to post a comment.
bradless on 01/25/10
1 person have marked this snippet as a favorite
SELECT * FROM tablename ORDER BY col='text1' desc, col='text2' desc, col='text3' desc
You need to login to post a comment.