QUERY PLAN
GroupAggregate (cost=0.00..268.89 rows=115 width=12)
Group Key: client_id
-> Seq Scan on tbl_cases (cost=0.00..267.07 rows=134 width=8)
Filter: (client_id = 12)