Re: [GENERAL] AS operator and subselect result names: PostgreSQL

2003-11-02 Thread Stephan Szabo
On Fri, 31 Oct 2003, Neil Zanella wrote: > Hello, > > I would like to ask the about the following... > > PostgreSQL allows tables resulting from subselects to be renamed with > an optional AS keyword whereas Oracle 9 will report an error whenever > a table is renamed with the AS keyword. Furthermo

Re: [GENERAL] AS operator and subselect result names: PostgreSQL vs. Oracle

2003-11-02 Thread Tom Lane
[EMAIL PROTECTED] (Neil Zanella) writes: > PostgreSQL allows tables resulting from subselects to be renamed with > an optional AS keyword whereas Oracle 9 will report an error whenever > a table is renamed with the AS keyword. Furthermore, in PostgreSQL > when the result of a subselect is reference

Re: [GENERAL] AS operator and subselect result names: PostgreSQL

2003-11-02 Thread Peter Eisentraut
Neil Zanella writes: > 1. Does standard SQL allow an optional AS keyword for (re/)naming >tables including those resulting from subselects. Yes. > 2 Why must a subselect whose fields are referenced in an outer query > be explicitly named in PostgreSQL when it is not necessary in Oracle. B

[GENERAL] AS operator and subselect result names: PostgreSQL vs. Oracle

2003-11-02 Thread Neil Zanella
Hello, I would like to ask the about the following... PostgreSQL allows tables resulting from subselects to be renamed with an optional AS keyword whereas Oracle 9 will report an error whenever a table is renamed with the AS keyword. Furthermore, in PostgreSQL when the result of a subselect is re