QUERY PLAN
HashAggregate (cost=459.40..460.70 rows=130 width=12)
Group Key: project_id
-> Seq Scan on tbl_cases (cost=0.00..458.70 rows=138 width=8)
Filter: (project_id = ANY ('{1929,1925,1791,1018,1111,1460,1240,986,983,887,884,883,778,764,861,88,4179,4175}'::integer[]))