Re: Count - Mailing list pgsql-general

From Jeff Davis
Subject Re: Count
Date
Msg-id 1201118092.10057.601.camel@dogma.ljc.laika.com
Whole thread Raw
In response to Count  (Bob Pawley <rjpawley@shaw.ca>)
List 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


pgsql-general by date:

Previous
From: pepone.onrez
Date:
Subject: Best practices for protect applications agains Sql injection.
Next
From: Tom Hart
Date:
Subject: ascii to utf-8