sql multi-condition issues sorted

order by the back of the field is not the only support multiple, sorted according to the order you write it. Further in accordance with the ascending and descending also supports each field. The default is ascending order. The following
order by column1 (asc or desc) , column2 (asc or desc), column3 (asc or desc), column4 (asc or desc) ...

 

Guess you like

Origin www.cnblogs.com/qingmuchuanqi48/p/11723520.html