mysql 触发器(trigger)
触发器(trigger):监视某种情况,并触发某种操作。触发器创建语法四要素:1.监视地点(table) 2.监视事件(insert/update/delete) 3.触发时间(after/before) 4.触发事件语法:CREATE TRIGGER trigger_name trigger_time trigger_event ON tbl_name FOR EACH ...