Re: Subselects, the Oracle way

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: svenne(at)krap(dot)dk
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Subselects, the Oracle way
Date: 2001-06-18 20:15:26
Message-ID: 8294.992895326@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Svenne Krap" <svenne(at)krap(dot)dk> writes:
> 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

That should work fine in 7.1 ...

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message The Hermit Hacker 2001-06-18 20:17:00 Re: LEFT JOIN ...
Previous Message Tom Lane 2001-06-18 19:56:15 Re: LEFT JOIN ...