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