日期:2014-05-18  浏览次数:20468 次

SQL排序(规则12304)
现有数字型字段
order   by   shu   desc   会排序为4321
我想排成12304不知可不可以?


------解决方案--------------------
--指定值来排序
order by case when shu =0 then 4 when shu=4 then 5 else shu end asc