Re: count distinct and group by

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: count distinct and group by
Date: 2015-05-07 10:54:46
Message-ID: mifg9o$d8g$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Geoff Winkless 2015-05-07 10:59:54 Re: count distinct and group by
Previous Message Szymon Guz 2015-05-07 10:48:09 Re: count distinct and group by