The FILTER clause in Postgres 9.4

Postgres 9.4 was released in December 2014 adding the FILTER clause to aggregate functions and this clause is quite useful when you want to count or sum specific records when executing group by.

Little programming joys
Little programming joys
Every day we learn something little, something amazing.
More information
Followers
226
Elsewhere