Re: [PATCH] GROUP BY ALL

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] GROUP BY ALL
Дата
Msg-id b46070c0-0e98-49a0-823f-fa7e13bf626b@eisentraut.org
обсуждение исходный текст
Ответ на Re: [PATCH] GROUP BY ALL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 23.07.24 00:29, Tom Lane wrote:
> (Personally, I'd wonder exactly what ALL is quantified over: the
> whole output of the FROM clause, or only columns mentioned in the
> SELECT tlist, or what? And why that choice rather than another?)

Looks like the main existing implementations take it to mean all entries 
in the SELECT list that are not aggregate functions.

https://duckdb.org/docs/sql/query_syntax/groupby.html#group-by-all
https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-qry-select-groupby.html#parameters
https://docs.snowflake.com/en/sql-reference/constructs/group-by#parameters




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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: [18] Policy on IMMUTABLE functions and Unicode updates
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [18] Policy on IMMUTABLE functions and Unicode updates