QUERY PLAN
Sort (cost=49.50..49.50 rows=1 width=22)
Sort Key: id
-> Seq Scan on tbl_purchase_invoice_amounts (cost=0.00..49.49 rows=1 width=22)
Filter: (purchase_invoice_id = 2567)