Re: Count

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Bob Pawley <rjpawley(at)shaw(dot)ca>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Count
Date: 2008-01-23 19:54:52
Message-ID: 1201118092.10057.601.camel@dogma.ljc.laika.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2008-01-23 at 10:50 -0800, Bob Pawley wrote:
> I have a table with four columns that will either be null or hold the value
> 'true'.
>
> I want to obtain the count of these columns, within a particular row, that
> have 'true' as a value (0 to 4).
>
> I have attempted the Select count method but it seems that I need something
> more.
>
> If anyone has any thoughts it would be much appreciated.

1. what did you do?
2. what did you see?
3. what did you expect?

Regards,
Jeff Davis

In response to

  • Count at 2008-01-23 18:50:48 from Bob Pawley

Browse pgsql-general by date

  From Date Subject
Next Message Marko Kreen 2008-01-23 19:59:09 Re: Postgresql + digital signature
Previous Message pepone.onrez 2008-01-23 19:54:49 Best practices for protect applications agains Sql injection.