QUERY PLAN
HashAggregate (cost=273.88..275.14 rows=126 width=12)
Group Key: client_id
-> Seq Scan on tbl_cases (cost=0.00..273.13 rows=150 width=8)
Filter: (client_id = ANY ('{90,592,582,1207}'::integer[]))