Re: CREATE TABLE AS and ORDER BY - Mailing list pgsql-sql

From Tom Lane
Subject Re: CREATE TABLE AS and ORDER BY
Date
Msg-id 25163.981475515@sss.pgh.pa.us
Whole thread Raw
In response to CREATE TABLE AS and ORDER BY  (Joy Chuang <hxc0850@omega.uta.edu>)
List pgsql-sql
Joy Chuang <hxc0850@omega.uta.edu> writes:
> But, it returns error message "ERROR:  parser: parse error at or near
> "order"".  Does "create table as" support "order by" inside of it?

Evidently not.

> I am using PostgreSQL 6.5.3.

It seems to work in 7.0 and later.
        regards, tom lane


pgsql-sql by date:

Previous
From: "Sebastian"
Date:
Subject: Re: Search
Next
From: Tom Lane
Date:
Subject: Re: PL/PGSQL function with parameters