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??

Best regards
Marcin




Wed, 11 Apr 2001 10:50:45 +0200
"Marcin Wasilewski" <marcingrupy@poczta.onet.pl>
ORDER BY ????

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.



Fri, 13 Apr 2001 16:18:23 -0700 (PDT)
Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: ORDER BY ????