aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/pg/select_join_left_equi.sql
blob: 1572be7b53d79b04c25e41c1cc561b184d4489ef (plain) (blame)
1
2
3
4
5
6
7
8
--!syntax_pg
select * from (values (1,2),(3,4)) as a(x,y)
left join (values (1,2),(2,5)) as b(u,v)
on a.x = b.u;

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