QUERY PLAN
HashAggregate (cost=446.49..448.42 rows=193 width=12)
Group Key: project_id
-> Seq Scan on tbl_cases (cost=0.00..445.41 rows=215 width=8)
Filter: (project_id = ANY ('{3197,3927,3915,263,2914,3837,2939,3751,3934,3883,3930,3665,3150,3910,3922,3932,3911,3933,3895,3908}'::integer[]))