I have data like and it have more columns not only below two:
id | s_type 1 | ACTIVE 2 | PENDING 3 | UPDATE 4 | ACTIVE 5 | PENDING 6 | UPDATE I used order by ASC, DESC but i want to display data with custom order and i want to show it as my custom orders (not only asc or descending): want to see first all PENDING then all ACTIVE then all UPDATE s_type
id | s_type 1 | PENDING 2 | PENDING 3 | ACTIVE 4 | ACTIVE 5 | UPDATE 6 | UPDATE How can i display with single query