题解 | #构造一个触发器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
after insert on employees_test
for each ROW
BEGIN
insert into audit values(new.id, new.name);
END