QUERY PLAN
GroupAggregate (cost=299.19..299.33 rows=8 width=12)
Group Key: project_id
-> Sort (cost=299.19..299.21 rows=8 width=8)
Sort Key: project_id
-> Seq Scan on tbl_cases (cost=0.00..299.07 rows=8 width=8)
Filter: (project_id = ANY ('{4082,3109,2755}'::integer[]))