现在修改程序.发现要该字段没有设置成1,2,3,或abc 而是特殊的汉字. 比如正常,故障告警. 我要按某个顺序排序.orderby该如何写?????? 问题点数:20、回复次数:2Top
啥意思Top
order by case 字段 when '正常' then 1 when '故障告警' then 2 else 3 end Top