SQL 中CASE 的運用

select priority, 
(case priority when 1 then '緊急' when 2 then '高' when 3 then '中' when 4 then '低' else '其他' end ) from incident
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章