QUERY PLAN
Sort (cost=40.63..40.64 rows=1 width=22)
Sort Key: id
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..40.62 rows=1 width=22)
Filter: (sales_invoice_id = 2299)