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)
right 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
right 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)
right 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
right 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)
right 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
right 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)
right 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
right join (select * from (values (1,2),(2,5)) as b(u,v) limit 0) b
on 1+1=3;
|