QUERY PLAN
GroupAggregate (cost=288.82..288.91 rows=5 width=12)
Group Key: project_id
-> Sort (cost=288.82..288.83 rows=5 width=8)
Sort Key: project_id
-> Seq Scan on tbl_cases (cost=0.00..288.76 rows=5 width=8)
Filter: (project_id = ANY ('{4182,4184}'::integer[]))