QUERY PLAN
GroupAggregate (cost=295.70..295.84 rows=7 width=36)
Group Key: implement_record_id
-> Sort (cost=295.70..295.72 rows=7 width=9)
Sort Key: implement_record_id
-> Seq Scan on tbl_reimbursements (cost=0.00..295.60 rows=7 width=9)
Filter: ((status = ANY ('{1,2,3}'::integer[])) AND (implement_record_id = ANY ('{7007,7003,7005,6998,7001,7004,7006}'::integer[])))