mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 11:00:05 +08:00
9 lines
144 B
SQL
9 lines
144 B
SQL
select
|
|
case
|
|
when a = 1 then '1'
|
|
when a = 2 then '2'
|
|
when a = 3 then '3'
|
|
else '0'
|
|
end as stmt1
|
|
from tab;
|