blob: ada242dc807e3425cf2ab220be03abdaa6783f40 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
PRAGMA DisableSimpleColumns;
/* postgres can not */
USE plato;
SELECT * FROM (
SELECT
AsStruct(key as key, subkey as subkey),
AsStruct("value: " || value as value)
FROM Input1
) as a
FLATTEN COLUMNS
JOIN Input2
USING (key)
ORDER BY Input2.key;
|