QUERY PLAN
Sort (cost=59.41..59.43 rows=9 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..59.26 rows=9 width=22)
Filter: (sales_invoice_id = ANY ('{919,932,985,986,1032,1050,1450,1500,1637}'::integer[]))