| От | Tom Lane |
|---|---|
| Тема | Re: Improving GROUP BY? |
| Дата | |
| Msg-id | 20398.1128088853@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Improving GROUP BY? (Peter Eisentraut <peter_e@gmx.net>) |
| Список | pgsql-general |
Peter Eisentraut <peter_e@gmx.net> writes:
> Am Freitag, 30. September 2005 09:03 schrieb Oliver Siegmar:
>> - Is this requirement (all fields in GROUP BY) based on the SQL standard?
> What you describe is called "functional dependencies" in the SQL standard.
> (The query processor would recognize that the non-primary key columns
> "functionally depend" on the primary key and therefore do not have to be
> grouped separately.) This is definitely a valid feature but PostgreSQL does
> not implement it yet.
Note also that the "functional dependencies" stuff was added in SQL99.
Postgres' current behavior corresponds to the SQL92 standard.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера