QUERY PLAN
HashAggregate (cost=330.44..331.70 rows=126 width=12)
Group Key: client_id
-> Seq Scan on tbl_cases (cost=0.00..329.69 rows=150 width=8)
Filter: (client_id = ANY ('{141,2815,3056,3332,2032,2736,189,2182,2600,24}'::integer[]))