QUERY PLAN
Delete on tbl_erp_cash_cost_ticket_sales_contract_settles (cost=0.00..19.75 rows=4 width=6)
-> Seq Scan on tbl_erp_cash_cost_ticket_sales_contract_settles (cost=0.00..19.75 rows=4 width=6)
Filter: (erp_cash_cost_ticket_id = 8)