text: USE Bakery
  GO
  
  --19.Delete Products
  CREATE TRIGGER t_DeleteProduct ON Products INSTEAD OF DELETE
  AS
  BEGIN
  	DECLARE @productId INT = (SELECT Id FROM deleted)
  
  	DELETE FROM Feedbacks
  	WHERE ProductId = @productId
  
  	DELETE FROM ProductsIngredients
  	WHERE ProductId = @productId
  
  	DELETE FROM Products
  	WHERE Id = @productId
  END