use apractica; DELIMITER // CREATE TRIGGER ELIMINADO before DELETE ON datos_civiles for each row begin DELETE FROM datos_sensibles WHERE cedula=old.cedula; end // DELIMITER ;
Diego Bahamonde
- 1
- 1