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