Re: Yet Another COUNT(*)...WHERE...question

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Yet Another COUNT(*)...WHERE...question
Дата
Msg-id 87fy2krh7y.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Yet Another COUNT(*)...WHERE...question  ("Phoenix Kiula" <phoenix.kiula@gmail.com>)
Ответы Re: Yet Another COUNT(*)...WHERE...question
Список pgsql-general
"Phoenix Kiula" <phoenix.kiula@gmail.com> writes:

> I'm grappling with a lot of reporting code for our app that relies on
> queries such as:
>
>      SELECT COUNT(*) FROM TABLE WHERE ....(conditions)...
>...
> The number of such possibilities for multiple WHERE conditions is
> infinite...

Depends on the "conditions" bit. You can't solve all of the infinite
possibilities -- well you can, just run the query above -- but if you want to
do better it's all about understanding your data.
--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

В списке pgsql-general по дате отправления:

Предыдущее
От: "Phoenix Kiula"
Дата:
Сообщение: Yet Another COUNT(*)...WHERE...question
Следующее
От: "Phoenix Kiula"
Дата:
Сообщение: Re: Yet Another COUNT(*)...WHERE...question