Sai Reddy

Sai Reddy

  • NA
  • 214
  • 28.4k

Order by clause - excluding one value

Sep 21 2018 5:54 AM
Hi,
 
I need to order the result with the following data. Where 678 record should be on top and remaining should be as order by condition.
 
 Id
100
200
678
678 
875
900
678
ORDER BY ID DESC 
 Result should be as follows
678
678
678
900
875
200
100 
 

Answers (2)