yql-6199.sql 343 B

123456789101112
  1. PRAGMA DisableSimpleColumns;
  2. /* postgres can not */
  3. $i = (select 1 as key);
  4. $j1 = (select a2.key,b.key as k from $i as a2 join $i as b on a2.key = b.key);
  5. select a.* from $j1 as a join $i as d on a.k = d.key;
  6. $j2 = (select a.key,b.key as k from $i as a join $i as b on a.key = b.key);
  7. select a.* from $j2 as a join $i as d on a.k = d.key;