I have three tables. Product, company, employee
ProductId from the product table is the key for the company and "CompanyId of Company" is the key for the Employee.
Thus, when deleting ProductId from the Product table, all related records in other tables must be deleted. But I cannot touch the circuit (I cannot use the alter table). How should I write a request in this case.
source share