Subselects, the Oracle way

Поиск
Список
Период
Сортировка
Hi,

Is there any way to mimic the oracle way of subselect, especially 
constructs like 


select * from (select col1 as x, col2, col6 from t1 union select col2 
as x, col6, col2 from t2) y order by y.x

I am aware of the fact, that it is possible to accomplish through the 
use of tempoary tables, but would rather not use them. 

Thanks in advance

Svenne
--
svenne@krap.dk
http://www.krap.dk
ICQ 5434480
PGP-key http://keys.pgp.dk:11371/pks/lookup?op=get&search=0xDF484022
PGP @ http://www.pgp.com / http://www.phpi.com


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Josh Berkus"
Дата:
Сообщение: Re: Better Archives?
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: Better Archives?