QUERY PLAN
HashAggregate (cost=375.32..377.38 rows=206 width=12)
Group Key: project_id
-> Seq Scan on tbl_cases (cost=0.00..374.17 rows=229 width=8)
Filter: (project_id = ANY ('{2665,3954,3754,3150,3702,4137,3818,2783,3288,4095}'::integer[]))