1 2 3 4
/* syntax version 1 */ /* postgres can not */ $foo = (select 100500 as bar); select bar from $foo;