QUERY PLAN
Sort (cost=27.00..27.08 rows=32 width=72)
Sort Key: id
-> Seq Scan on tbl_erp_other_collect_ticket_amounts (cost=0.00..26.20 rows=32 width=72)
Filter: (erp_other_collect_ticket_id = ANY ('{10,9,6,5,4,3,2,1}'::integer[]))