题解 | 知识点整理#构造一个触发器audit_log#
构造一个触发器audit_log
http://www.nowcoder.com/practice/7e920bb2e1e74c4e83750f5c16033e2e
CREATE TRIGGER audit_log
AFTER INSERT ON employees_test
FOR EACH ROW
BEGIN
INSERT INTO audit
VALUES (NEW.id, NEW.name);
END