How to order contents using specific values in a field using MySql? December 28, 2013MySQL Queries, UncategorizedMySQL QueriesWhiteWind It can be done as follows:- SELECT * FROM table_name ORDER BY FIELD(filed_name,"value_y","value_x") DESC Share this:Click to share on WhatsApp (Opens in new window)Click to share on Telegram (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)Click to share on LinkedIn (Opens in new window)Click to share on Pinterest (Opens in new window)Click to share on Tumblr (Opens in new window)Click to share on Pocket (Opens in new window)Click to share on Reddit (Opens in new window)Click to email a link to a friend (Opens in new window)Click to print (Opens in new window)Like this:Like Loading... Related