QUERY PLAN
GroupAggregate (cost=323.71..323.78 rows=4 width=12)
Group Key: case_id
-> Sort (cost=323.71..323.72 rows=4 width=4)
Sort Key: case_id
-> Seq Scan on tbl_implement_records (cost=0.00..323.67 rows=4 width=4)
Filter: (case_id = ANY ('{8267,8266,8265,8260}'::integer[]))