Re: SELECT FROM SELECT - Mailing list pgsql-sql

From Tom Lane
Subject Re: SELECT FROM SELECT
Date
Msg-id 8516.979919000@sss.pgh.pa.us
Whole thread Raw
In response to SELECT FROM SELECT  ("Aleksey V. Kurinov" <leks@datanaut.com>)
List pgsql-sql
"Aleksey V. Kurinov" <leks@datanaut.com> writes:
> Does Postrges provide "Select * from Select * from t1" construction ?

In 7.1.

But you have to spell it per the SQL spec:
select * from (select * from t1) as foo;

The parentheses and alias name are not optional.
        regards, tom lane


pgsql-sql by date:

Previous
From: "Oliver Elphick"
Date:
Subject: Re: Where can i get Pgaccess
Next
From: "Tony Mantana"
Date:
Subject: (No Subject)