文章分类 - 数据库
摘要:【MySQL触发器】当一个表发生插入或更新时,将数据同步到另一张表中 tbl_slope:发生更新的表, checkupdates:更新后插入数据的表 CREATE trigger updatetbl_slope AFTER update-- 表示触发器是在激活它的语句之后触发 on tbl_slo
阅读全文
摘要:Trick: massage a Group_Concat() result on the csv string into an Insert...Values... string: drop table if exists t; create table t( txt text ); insert
阅读全文