1 2 3
--!syntax_pg select * from (select 1 as x ) u right join (select 1 as y) v on u.x=v.y; select * from (select 1 as x ) u right join (select 2 as y) v on u.x=v.y;