Re: AW: AW: [HACKERS] SELECT ... AS ... names in WHERE/GROUP BY/HAVIN G

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: AW: AW: [HACKERS] SELECT ... AS ... names in WHERE/GROUP BY/HAVIN G
Дата
Msg-id 24289.945354228@sss.pgh.pa.us
обсуждение исходный текст
Ответ на AW: AW: [HACKERS] SELECT ... AS ... names in WHERE/GROUP BY/HAVIN G  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
Список pgsql-hackers
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:
> Informix and DB/2 allow column numbering in the group by clause.

What do they do with
SELECT foo AS bar FROM table GROUP BY bar

?

What do they do if bar is the real name of another column in the table?
        regards, tom lane


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