1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 14:10:06 +08:00
SpaceVim/bundle/nvim-treesitter-0.9.1/tests/indent/sql/case.sql

9 lines
144 B
MySQL
Raw Normal View History

select
case
when a = 1 then '1'
when a = 2 then '2'
when a = 3 then '3'
else '0'
end as stmt1
from tab;