pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: svenne@krap.dk
Cc: pgsql-sql@postgresql.org
Subject: Re: Subselects, the Oracle way
Date: Mon, 18 Jun 2001 16:15:26 -0400
Message-ID: <8294.992895326@sss.pgh.pa.us> (raw)
In-Reply-To: <3B2E6D28.17314.A02C932@localhost>
References: <3B2E6D28.17314.A02C932@localhost>

"Svenne Krap" <svenne@krap.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



view thread (4+ messages)  latest in thread

Message-ID: <8294.992895326@sss.pgh.pa.us>
Permalink:  ../8294.992895326@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8294.992895326@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, svenne@krap.dk
  Subject: Re: Subselects, the Oracle way
  In-Reply-To: <8294.992895326@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox