2017年8月24日

mysql跨表删除

摘要: AB是两张表 delete A from A inner join B on B.appid = B.appid where ... 阅读全文

posted @ 2017-08-24 18:48 长风剑客 阅读(129) 评论(0) 推荐(0) 编辑

mysql B表中数据更新到A表中

摘要: update A INNER join B on A.appid = B.appid set A.num = B.num where ... 阅读全文

posted @ 2017-08-24 18:20 长风剑客 阅读(523) 评论(1) 推荐(0) 编辑

mysql 将A表中数据插入到B表

摘要: AB表所有数据同步 insert into A select * from B AB表部分字段 insert into A (field1,field2,...) select field1,field2,... from B where ... 阅读全文

posted @ 2017-08-24 17:52 长风剑客 阅读(306) 评论(0) 推荐(0) 编辑

导航