trigger in mysql syntax
snippet in sql

trigger in mysql syntax

user8068

CREATE TRIGGER trigger_name
{BEFORE | AFTER} {INSERT | UPDATE| DELETE }
ON table_name FOR EACH ROW
trigger_body;