select [表字段Name] , ( case [表字段OrderState] when 1 then '已覈銷' when 2 then '確認前的移動端取消'when 3 then '已完成'when 4 then '已確認'when 5 then '已爽約'when 6 then 'pc端取消(聯繫上客戶,時間未肯定'when 8 then 'pc端取消(聯繫不上客戶)'when 9 then '確認後的移動端取消' end) as [表字段OrderState] from 表名Demo