blob: e31ee06f4e6e0b35614e2d78633fe94fad2f7cbb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
PRAGMA DisableSimpleColumns;
PRAGMA DisablePullUpFlatMapOverJoin;
use plato;
$map = (select key, subkey, 1 as value, 2 as another from Input1);
from $map as a
join Input2 as b using(key)
select a.key, a.value, b.value
order by a.key,a.value;
from $map as a
join Input3 as b using(key)
select a.key, a.value, a.subkey, b.value
order by a.key,a.value;
|