有两表,表t_2012结构:
name
a
b表t_2013结构:
name
c
d现在想写两个触发器,当t_2012或t_2013表中新增数据时,将新增的内容和年份写进去,如:表t_change结构
name  what    year
e      insert  2012
f      insert  2013如何把表名中的年份取出来呢?谢谢各位老师~万分感谢mysql触发器