Re: SELECT, GROUP BY, and aggregates

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: SELECT, GROUP BY, and aggregates
Дата
Msg-id 54DE5E58.8000403@gmx.net
обсуждение исходный текст
Ответ на Re: SELECT, GROUP BY, and aggregates  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-general
On 2/13/15 1:48 PM, Jeff Janes wrote:
> I waste an inordinate amount of time retyping select lists over into the
> group by list, or copying and pasting and then deleting the aggregate
> clauses.  It is an entirely pointless exercise.  I can't fault
> PostgreSQL for following the standard, but its too bad the standards
> aren't more sensible.

An extension like GROUP BY ALL might be useful, without breaking much.

Also note that you can group by primary key only.




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

Предыдущее
От: "George Weaver"
Дата:
Сообщение: Re: Unknown error while running <> postgresql_installer_dc46cfee2c\getlocales.exe
Следующее
От: Mathieu Basille
Дата:
Сообщение: Re: Hardware requirements for a PostGIS server