Subselects, the Oracle way

From: "Svenne Krap" <svenne(at)krap(dot)dk>
To: pgsql-sql(at)postgresql(dot)org
Subject: Subselects, the Oracle way
Date: 2001-06-18 19:05:44
Message-ID: 3B2E6D28.17314.A02C932@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)krap(dot)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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message The Hermit Hacker 2001-06-18 19:14:02 Re: Better Archives?
Previous Message Josh Berkus 2001-06-18 18:53:35 Re: Better Archives?