Re: What is the alternate of FILTER below Postgresql 9.4?

Поиск
Список
Период
Сортировка
От Arup Rakshit
Тема Re: What is the alternate of FILTER below Postgresql 9.4?
Дата
Msg-id 3326374.PNioyprZeO@linux-wzza.site
обсуждение исходный текст
Ответ на Re: What is the alternate of FILTER below Postgresql 9.4 ?  (Andreas Kretschmer <akretschmer@spamfence.net>)
Список pgsql-general
On Tuesday, February 24, 2015 06:14:53 PM Andreas Kretschmer wrote:
> Arup Rakshit <aruprakshit@rocketmail.com> wrote:
>
> > This *FILTER* method is available from 9.4, How can I get the same output below 9.4 version ?
>
>
> case when ...
>
> see:
> http://www.cybertec.at/postgresql-9-4-aggregation-filters-they-do-pay-off/
>
> Andreas
>

Humm.. That's correct. I used the same with group by, that's why got 2 rows output.

Anway thanks for your help! :-)

--
================
Regards,
Arup Rakshit
================
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as
possible,you are, by definition, not smart enough to debug it. 

--Brian Kernighan


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

Предыдущее
От: Arup Rakshit
Дата:
Сообщение: Re: What is the alternate of FILTER below Postgresql 9.4 ?
Следующее
От: David Steele
Дата:
Сообщение: Re: Row-level Security vs Application-level authz