题解 | #构造一个触发器audit_log#

构造一个触发器audit_log

http://www.nowcoder.com/practice/7e920bb2e1e74c4e83750f5c16033e2e

create trigger audit //触发器名字
after insert on employees_test //触发条件
for each row //触发条件(行级触发器)
begin
insert into audit //触发内容
values(new.ID,new.NAME); //触发内容
end;

全部评论

相关推荐

对空六翼:你真幸运,碰见这么好的人,不像我,秋招的时候被室友骗进cx了
实习好累,可以辞职全力准...
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务