boolean and count

From: "Yuri A(dot) Kabaenkov" <sec(at)artofit(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: boolean and count
Date: 2002-04-29 12:35:17
Message-ID: 1113312783.20020429163517@artofit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
How can i count tru and false rows with one query?
My table structure is:

id int4,
status boolean

--
Best regards,
Yuri mailto:sec(at)artofit(dot)com

Browse pgsql-general by date

  From Date Subject
Next Message Fran Fabrizio 2002-04-29 13:34:36 Re: What popular, large commercial websites run PostgreSQL?
Previous Message Joshua Drake 2002-04-29 10:47:08 Re: What popular, large commercial websites run