1 2 3 4 5 6 7
/* syntax version 1 */ /* postgres can not */ pragma EmitAggApply; SELECT sum(key) FROM (values (1u),(null),(3u)) as a(key)