QUERY PLAN
Sort (cost=94.89..94.92 rows=11 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..94.70 rows=11 width=22)
Filter: (purchase_invoice_id = ANY ('{1207,1212,1261,1475,2003,2645,2662,2663,2715,2720,2721}'::integer[]))