mysql创建触发器的详细过程

drop table if exists tab1;

create table tab1 (
  tab1_id int
)

drop table if exists tab2;

create table tab2 (
  tab2_id int
)

编程技巧