QUERY PLAN
GroupAggregate (cost=92.79..92.88 rows=5 width=12)
Group Key: case_id
-> Sort (cost=92.79..92.80 rows=5 width=4)
Sort Key: case_id
-> Seq Scan on tbl_pre_sales (cost=0.00..92.73 rows=5 width=4)
Filter: (case_id = ANY ('{8268,8267,8266,8265,8260}'::integer[]))