QUERY PLAN
Sort (cost=105.12..105.17 rows=19 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..104.72 rows=19 width=22)
Filter: (purchase_invoice_id = ANY ('{2681,2682,2683,2684,2685,2695,2696,2697,2698,2699,2700,2701,2702,2713,2714,2730,2742,2743,2748}'::integer[]))