aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/join/pullup_cross.sql
blob: 7b5f75f0ba4bd5bfb00da538a73efc2cf2626269 (plain) (blame)
1
2
3
4
5
6
7
PRAGMA DisableSimpleColumns;
use plato;

from (select key, subkey || key as subkey, value || "v" as value from Input1) as a
cross join Input2 as b
select a.key, a.subkey, b.subkey, b.value
order by a.key, a.subkey, b.subkey, b.value;