QUERY PLAN
Sort (cost=62.14..62.17 rows=12 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..61.92 rows=12 width=22)
Filter: (sales_invoice_id = ANY ('{1185,1252,1272,1353,1447,1621,1798,1989,2118,2315}'::integer[]))