QUERY PLAN
Sort (cost=70.68..70.71 rows=11 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..70.49 rows=11 width=22)
Filter: (sales_invoice_id = ANY ('{1159,1187,1230,1231,1348,1349,1350,1380,1381,1477,1700}'::integer[]))