Re: can not use the column after rename - Mailing list pgsql-general

From Simon Tokumine
Subject Re: can not use the column after rename
Date
Msg-id CAErctvJ93zqYGHOPD5dpAfvYDVx0svMgfFQ9WtE4fkXzWtwedA@mail.gmail.com
Whole thread Raw
In response to can not use the column after rename  (salah jubeh <s_jubeh@yahoo.com>)
Responses Re: can not use the column after rename  (salah jubeh <s_jubeh@yahoo.com>)
List pgsql-general
Hi Salah,

This is equivalent:

WITH numbers AS (SELECT 1 AS a, 2 AS b) SELECT a, b, a+b AS c FROM numbers;

S

On Wed, Dec 21, 2011 at 11:39 AM, salah jubeh <s_jubeh@yahoo.com> wrote:
Hello,

Why I can not do something like this in Postgres.

 SELECT 1 as a , 2 as b , a + b as c ;

Regards
 


pgsql-general by date:

Previous
From: salah jubeh
Date:
Subject: can not use the column after rename
Next
From: salah jubeh
Date:
Subject: Re: can not use the column after rename