Re: [HACKERS] Open 6.5 items

From: ZEUGSWETTER Andreas IZ5 <Andreas(dot)Zeugswetter(at)telecom(dot)at>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Open 6.5 items
Date: 1999-05-19 13:01:11
Message-ID: 219F68D65015D011A8E000006F8590C60267B36C@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> Allow "col AS name" to use name in WHERE clause? Is this ANSI?
> Works in GROUP BY
>
Neighter Informix nor Oracle do it, so it is probably not ansi, but it would

be a very neat feature, especially if you do some arithmetic,
the statement gets a lot clearer.

But it probably adds some complexity:

create table a (a int, b int, c int);
select a, b as c from a where c=5;

Which c do you use alias or column ? You prbly need to use the column,
since this is how all others work, but would this be intuitive ?

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 1999-05-19 13:06:24 Re: [HACKERS] I thought this was picked up ages ago?
Previous Message D'Arcy J.M. Cain 1999-05-19 12:38:50 Re: [HACKERS] PyGreSQL 2.4