aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/pg/select_join_full_const.sql
blob: 605eb5c89c3421b339f184117016bd00a7cc65cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--!syntax_pg
select * from (values (1,2),(3,4)) as a(x,y)
full join (values (1,2),(2,5)) as b(u,v)
on 1+1=2;

select * from (select * from (values (1,2),(3,4)) as a(x,y) limit 0) a
full join (values (1,2),(2,5)) as b(u,v)
on 1+1=2;

select * from (values (1,2),(3,4)) as a(x,y)
full join (select * from (values (1,2),(2,5)) as b(u,v) limit 0) b
on 1+1=2;

select * from (select * from (values (1,2),(3,4)) as a(x,y) limit 0) a
full join (select * from (values (1,2),(2,5)) as b(u,v) limit 0) b
on 1+1=2;

select * from (values (1,2),(3,4)) as a(x,y)
full join (values (1,2),(2,5)) as b(u,v)
on 1+1=3;

select * from (select * from (values (1,2),(3,4)) as a(x,y) limit 0) a
full join (values (1,2),(2,5)) as b(u,v)
on 1+1=3;

select * from (values (1,2),(3,4)) as a(x,y)
full join (select * from (values (1,2),(2,5)) as b(u,v) limit 0) b
on 1+1=3;

select * from (select * from (values (1,2),(3,4)) as a(x,y) limit 0) a
full join (select * from (values (1,2),(2,5)) as b(u,v) limit 0) b
on 1+1=3;