blob: 15766d300450a36ff28cc2f3f2701e6797fddc20 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* postgres can not */
/* syntax version 1 */
USE plato;
DEFINE SUBQUERY $sub($name) AS
SELECT * FROM $name
END DEFINE;
SELECT a.key
FROM $sub("Input") AS a
INNER JOIN Input AS b
ON a.key = b.key
WHERE JoinTableRow().`a.subkey` == "wat"
|