QUERY PLAN
GroupAggregate (cost=354.68..354.82 rows=8 width=12)
Group Key: case_id
-> Sort (cost=354.68..354.70 rows=8 width=4)
Sort Key: case_id
-> Seq Scan on tbl_implement_records (cost=0.00..354.56 rows=8 width=4)
Filter: (case_id = ANY ('{8280,8279,8264,8262,8273,8272,8271,8263}'::integer[]))