Re: [HACKERS] Open 6.5 items

Поиск
Список
Период
Сортировка
От ZEUGSWETTER Andreas IZ5
Тема Re: [HACKERS] Open 6.5 items
Дата
Msg-id 219F68D65015D011A8E000006F8590C60267B36C@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: [HACKERS] Open 6.5 items  ("D'Arcy" "J.M." Cain <darcy@druid.net>)
Re: [HACKERS] Open 6.5 items  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "D'Arcy" "J.M." Cain
Дата:
Сообщение: Re: [HACKERS] PyGreSQL 2.4
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: [HACKERS] I thought this was picked up ages ago?