QUERY PLAN
Sort (cost=46.59..46.59 rows=1 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..46.58 rows=1 width=22)
Filter: (sales_invoice_id = 1700)