blob: f37e69b95eb6568a62ef8c84cbc6cf764c028d8d (
plain) (
blame)
1
2
3
4
5
6
7
|
--!syntax_pg
with foo(x) as (
select 1
), bar as (select 2 as y from foo)
select x,b.y,z,a.y as y2 from foo,bar b,(
with foo as (select 3 as z)
select * from foo, bar) a
|