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: Share on WhatsApp (Opens in new window) WhatsApp Share on Telegram (Opens in new window) Telegram Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Share on LinkedIn (Opens in new window) LinkedIn Share on Pinterest (Opens in new window) Pinterest Share on Tumblr (Opens in new window) Tumblr Share on Reddit (Opens in new window) Reddit Email a link to a friend (Opens in new window) Email Print (Opens in new window) Print Like this:Like Loading... Related