QUERY PLAN
HashAggregate (cost=264.88..266.67 rows=179 width=12)
Group Key: client_id
-> Seq Scan on tbl_cases (cost=0.00..263.70 rows=235 width=8)
Filter: (client_id = ANY ('{1181,497,287}'::integer[]))