blob: 7dbbe3ad0fc47887dadea6488a3983bfd27d8f80 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
/* syntax version 1 */
/* postgres can not */
define subquery $sub() as
select * from (values (1,'c'),(1,'a'),(3,'b')) as a(x,y);
end define;
$sub2 = SubqueryOrderBy($sub, [("x",false), ("y",true)]);
process $sub2();
|