join_comp_inmem.sql 777 B

12345678910111213
  1. PRAGMA DisableSimpleColumns;
  2. /* postgres can not */
  3. $i = (select AsList("foo") as x);
  4. $j = (select Just(AsList("foo")) as y);
  5. select a.x as zzz,b.y as fff from $i as a inner join $j as b on a.x = b.y;
  6. select a.x as zzz,b.y as fff from $i as a right join $j as b on a.x = b.y;
  7. select a.x as zzz,b.y as fff from $i as a left join $j as b on a.x = b.y;
  8. select a.x as zzz from $i as a left semi join $j as b on a.x = b.y;
  9. select a.x as zzz from $i as a left only join $j as b on a.x = b.y;
  10. select b.y as fff from $i as a right semi join $j as b on a.x = b.y;
  11. select b.y as fff from $i as a right only join $j as b on a.x = b.y;
  12. select a.x as zzz,b.y as fff from $i as a full join $j as b on a.x = b.y;
  13. select a.x as zzz,b.y as fff from $i as a exclusion join $j as b on a.x = b.y;