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

From: Bryce Nesbitt <bryce1(at)obviously(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Doing a conditional aggregate (e.g. count(*) if x=y) in postgres?
Date: 2007-05-14 23:48:06
Message-ID: 4648F536.80303@obviously.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Ah perfect. I was struggling with CASE outside the SUM(), which was not
working.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Nemo Terry 2007-05-15 04:51:17 How to process inverted comma in "EXECUTE 'insert into xxx values(...)'; "?
Previous Message Geoff Tolley 2007-05-14 23:18:39 Re: Doing a conditional aggregate (e.g. count(*) if x=y) in postgres?