Specify 'Order By' order


/ Published in: MySQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. select * from tablename order by col='text1' desc, col='text2' desc, col='text3' desc

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.