From: Josh Berkus <josh@agliodbs.com>
To: sqllist <pgsql-sql@postgresql.org>
Subject: [Fwd: Re: no ORDER BY in subselects?]
Date: Wed, 20 Sep 2000 09:20:25 -0700
Message-ID: <39C8E3C9.D1CFFDB3@agliodbs.com> (raw)
Ooops, posted this to Phillip rather than the list, sorry Phillip ...
Folks,
Philip Warner wrote:
>
> At 15:23 20/09/00 +0200, Louis-David Mitterrand wrote:
> >
> >ERROR: parser: parse error at or near "order"
> >
> >Aren't ORDER BY clauses allowed in subselects?
> >
>
> It is a very very sad fact, but, no, they're not.
Hmmmm ... can't say as I've ever seen an ORDER BY in a subselect before.
Why would you want one?
And if you do want one, Louis-David, you can always use a temporary
table as previously described.
-Josh
--
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 436-9166
for law firms, small businesses fax 436-0137
and non-profit organizations. pager 338-4078
San Francisco
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: [Fwd: Re: no ORDER BY in subselects?]
In-Reply-To: <39C8E3C9.D1CFFDB3@agliodbs.com>
References: <39C8E3C9.D1CFFDB3@agliodbs.com>
* 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