Regenerate nvim config
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
select
|
||||
case
|
||||
when a = 1 then '1'
|
||||
when a = 2 then '2'
|
||||
when a = 3 then '3'
|
||||
else '0'
|
||||
end as stmt1
|
||||
from tab;
|
||||
@ -0,0 +1,3 @@
|
||||
begin
|
||||
create table foo (bar int);
|
||||
end;
|
||||
@ -0,0 +1,4 @@
|
||||
create table my_table (
|
||||
id bigint,
|
||||
date date
|
||||
);
|
||||
@ -0,0 +1,7 @@
|
||||
with data as (
|
||||
select
|
||||
a,
|
||||
b
|
||||
from tab
|
||||
)
|
||||
select * from data;
|
||||
@ -0,0 +1,5 @@
|
||||
insert into mytable
|
||||
(column1, column2)
|
||||
values
|
||||
('john', 123),
|
||||
('jane', 124);
|
||||
@ -0,0 +1,4 @@
|
||||
select
|
||||
a,
|
||||
b
|
||||
from tab;
|
||||
@ -0,0 +1,9 @@
|
||||
select
|
||||
id
|
||||
from foo
|
||||
where id < (
|
||||
select
|
||||
id
|
||||
from bar
|
||||
limit 1
|
||||
);
|
||||
Reference in New Issue
Block a user