QUERY PLAN
HashAggregate (cost=278.36..279.26 rows=90 width=12)
Group Key: project_id
-> Seq Scan on tbl_cases (cost=0.00..277.89 rows=94 width=8)
Filter: (project_id = ANY ('{1018,1111}'::integer[]))