Re: Count

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Count
Дата
Msg-id 1201118092.10057.601.camel@dogma.ljc.laika.com
обсуждение исходный текст
Ответ на Count  (Bob Pawley <rjpawley@shaw.ca>)
Список 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 по дате отправления:

Предыдущее
От: pepone.onrez
Дата:
Сообщение: Best practices for protect applications agains Sql injection.
Следующее
От: Tom Hart
Дата:
Сообщение: ascii to utf-8