QUERY PLAN
Sort (cost=24.17..24.23 rows=23 width=76)
Sort Key: id
-> Seq Scan on tbl_erp_cash_cost_ticket_bank_outs (cost=0.00..23.65 rows=23 width=76)
Filter: (erp_cash_cost_ticket_id = ANY ('{6,5,4,3,2,1}'::integer[]))