From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | snpe <snpe(at)snpe(dot)co(dot)yu> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: SQL syntax (column alias) |
Date: | 2002-11-10 16:38:37 |
Message-ID: | 3DCE8B8D.4080509@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-jdbc |
snpe wrote:
> work, but I think that AS in 'as cluse' is optional
>
> Please comment.
See:
http://developer.postgresql.org/docs/postgres/sql-select.html
Near the bottom:
" SQL92
SELECT Clause
In the SQL92 standard, the optional keyword AS is just noise and can be
omitted without affecting the meaning. The PostgreSQL parser requires this
keyword when renaming output columns because the type extensibility features
lead to parsing ambiguities in this context. AS is optional in FROM items,
however."
Joe
From | Date | Subject | |
---|---|---|---|
Next Message | Terence Leung | 2002-11-10 16:47:17 | Stale Process |
Previous Message | Rod Taylor | 2002-11-10 16:15:59 | Re: SQL syntax (column alias) |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-11-10 17:44:45 | Re: SQL syntax (column alias) |
Previous Message | Rod Taylor | 2002-11-10 16:15:59 | Re: SQL syntax (column alias) |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-11-10 17:44:45 | Re: SQL syntax (column alias) |
Previous Message | Rod Taylor | 2002-11-10 16:15:59 | Re: SQL syntax (column alias) |