Re: count distinct and group by

Поиск
Список
Период
Сортировка
От Geoff Winkless
Тема Re: count distinct and group by
Дата
Msg-id CAEzk6fdVFzmY6_+yBbKk+Qd9YUWns5-QHZ-UP7zc08TqdG5eug@mail.gmail.com
обсуждение исходный текст
Ответ на Re: count distinct and group by  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-general
On 7 May 2015 at 11:54, Thomas Kellerer <spam_eater@gmx.net> wrote:
Geoff Winkless schrieb am 07.05.2015 um 12:39:
> in Postgres (unlike MySQL) you can't order a list of values by a column you haven't selected.​

Of course you can, just not when you are aggregating.

​Doh! I missed out that key clause :)

Thanks for correcting me.

Geoff​
 

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: count distinct and group by
Следующее
От: cchee-ob
Дата:
Сообщение: Re: Getting UDR up and running