QUERY PLAN
Sort (cost=98.22..98.25 rows=14 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..97.95 rows=14 width=22)
Filter: (purchase_invoice_id = ANY ('{2734,2735,2742,2743,2744,2745,2746,2747,2748,2750,2751,2752}'::integer[]))