blob: b0d66de17d75985b490f00fc8ecf64c283612df9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
--!syntax_pg
select * from (
(select 2 as foo) a
join
(select 2 as bar) b
on(a.foo = b.bar)), (
(select 1 as fooo, 1 as x
union all
select 1 as fooo, 2 as y) c
join
(select 1 as fooo) d
using(fooo)) order by x
|