where cannot use alias name of column? - Mailing list pgsql-general

From Giorgio Volpe
Subject where cannot use alias name of column?
Date
Msg-id 3BA097B1.AD659529@gtngroup.it
Whole thread Raw
Responses Re: where cannot use alias name of column?
Re: where cannot use alias name of column?
Re: where cannot use alias name of column?
List pgsql-general
May be it's my ignorance about sql ...
but why cannot i use alias name of a column in a where clause?


# select key as cc from mytable where cc > 0;
ERROR:  Attribute 'cc' not found


--

    Giorgio

-----------------------------------------




pgsql-general by date:

Previous
From: Denis Gasparin
Date:
Subject: General database programming question
Next
From: "Thurstan R. McDougle"
Date:
Subject: Re: Inheritance c.cities ??