Re: Subselects, the Oracle way - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: Subselects, the Oracle way
Date
Msg-id Pine.LNX.4.30.0106182248240.898-100000@peter.localdomain
Whole thread Raw
In response to Subselects, the Oracle way  ("Svenne Krap" <svenne@krap.dk>)
List pgsql-sql
Svenne Krap 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

I don't know what's supposed to be the "Oracle" way about this, but this
particular query should work in PostgreSQL 7.1.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Subselects, the Oracle way
Next
From: Christopher Smith
Date:
Subject: Problems ensuring uniqueness?