QUERY PLAN
Sort (cost=88.74..88.77 rows=14 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..88.47 rows=14 width=22)
Filter: (purchase_invoice_id = ANY ('{2332,2333,2375,2484,2485,2519,2520,2612,2613,2616,2619,2667,2669,2670}'::integer[]))