From: | Josh Berkus <josh(at)agliodbs(dot)com> |
---|---|
To: | sqllist <pgsql-sql(at)postgresql(dot)org> |
Subject: | [Fwd: Re: no ORDER BY in subselects?] |
Date: | 2000-09-20 16:20:25 |
Message-ID: | 39C8E3C9.D1CFFDB3@agliodbs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)agliodbs(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | User Lenzi | 2000-09-20 17:28:59 | sql query not using indexes |
Previous Message | Tom Lane | 2000-09-20 16:13:12 | Re: ERROR: replace_vars_with_subplan_refs (!?) |