QUERY PLAN
Delete on tbl_sales_invoice_amounts (cost=0.00..23.38 rows=5 width=6)
-> Seq Scan on tbl_sales_invoice_amounts (cost=0.00..23.38 rows=5 width=6)
Filter: (sales_invoice_id = 1)