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