Re: BUG #4037: Manual bug: 2.5. Querying a Table - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #4037: Manual bug: 2.5. Querying a Table
Date
Msg-id 20080316032933.GA8635@alvh.no-ip.org
Whole thread Raw
In response to Re: BUG #4037: Manual bug: 2.5. Querying a Table  ("Daniel Cristian Cruz" <danielcristian@gmail.com>)
List pgsql-bugs
Daniel Cristian Cruz escribió:
> Humm...
>
> Reading this way... It sounds like I could write something like this:
>
> SELECT city, (temp_hi+temp_lo)/2 temp_avg, date FROM weather;
>
> Like it work with tables...

Well, it says "the AS clause", not "the AS keyword".  The keyword itself
is not optional if you want to have the clause at all.


--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: "Daniel Cristian Cruz"
Date:
Subject: Re: BUG #4037: Manual bug: 2.5. Querying a Table
Next
From: "Gurjeet Singh"
Date:
Subject: Re: BUG #4038: Problem with locale changing by initdb