QUERY PLAN
Sort (cost=65.48..65.49 rows=1 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..65.47 rows=1 width=22)
Filter: (purchase_invoice_id = 2503)