Re: Doing a conditional aggregate (e.g. count(*) if x=y) in postgres?

Поиск
Список
Период
Сортировка
От Bryce Nesbitt
Тема Re: Doing a conditional aggregate (e.g. count(*) if x=y) in postgres?
Дата
Msg-id 4648F536.80303@obviously.com
обсуждение исходный текст
Ответ на Re: Doing a conditional aggregate (e.g. count(*) if x=y) in postgres?  (Geoff Tolley <geoff@polimetrix.com>)
Список pgsql-sql
Ah perfect.  I was struggling with CASE outside the SUM(), which was not
working.


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