Syntax for Creating a Trigger
CREATE TRIGGER name BEFORE|AFTER INSERT|UPDATE|DELETE ON tablename FOR EACH ROW code