QUERY PLAN
GroupAggregate (cost=332.51..332.54 rows=2 width=12)
Group Key: case_id
-> Sort (cost=332.51..332.51 rows=2 width=4)
Sort Key: case_id
-> Seq Scan on tbl_implement_records (cost=0.00..332.50 rows=2 width=4)
Filter: (case_id = ANY ('{8762,8761}'::integer[]))