Re: AS keyword - Mailing list pgsql-general

From Joe Conway
Subject Re: AS keyword
Date
Msg-id 3D54741F.8040903@joeconway.com
Whole thread Raw
In response to AS keyword  (Steve Lane <slane@fmpro.com>)
List pgsql-general
Steve Lane wrote:
> Hello all:
>
> I thought I had understood that the AS keyword for column aliasing was
> optional in SQL. Yet it appears that, at least some of the time, it's
> necessary in Postgresql. Have I misunderstood the standard, or does postgres
> deliberately diverge?

PostgreSQL intentionally diverges. See (near the bottom - SQL92 heading):

http://www.postgresql.org/idocs/index.php?sql-select.html

Joe




pgsql-general by date:

Previous
From: Steve Lane
Date:
Subject: AS keyword
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Transactions in functions ( was Re: transactions, serial ids, and JDBC)