Re: ORDER BY ???? - Mailing list pgsql-hackers

From Stephan Szabo
Subject Re: ORDER BY ????
Date
Msg-id Pine.BSF.4.21.0104131613250.59463-100000@megazone23.bigpanda.com
Whole thread Raw
In response to ORDER BY ????  ("Marcin Wasilewski" <marcingrupy@poczta.onet.pl>)
List pgsql-hackers
On Wed, 11 Apr 2001, Marcin Wasilewski wrote:

> hello everybody,
> Can you help me?
> 
> I have POSTGRESQL 7.0.3,
> I try to create simple view by typing.
> 
> create view "xx" as select "aa.yy", "bb.yy" from "yy" order by "bb.yy"
> 
> the problem is that parameter order is not implemented with create view.
> so how can I create such simple query??

You probably want the order by on the select queries on "xx".  I
believe order bys are only legal on cursor creation and direct select
statements.




pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Tag'd, packaged and ready to go ...
Next
From: Bruce Momjian
Date:
Subject: Re: pg_dump ordering problem (rc4)