关于Mysql 触发器常用操作
创建触发器:CREATE TRIGGER tr_seq1AFTER INSERT on table1FOR EACH ROWBEGINDECLARE cn INTEGER;SELECT COUNT(galary_id) INTO cn from table2;IF cn!=0 THENUPDATE table2 set table2.num=table2.num+2;ELSE...