MySQL 关联表批量修改(数据同步)

update table1 t1 ,table2 t2 set t1.field1 = t2.field2 where t1.id = t2.id

posted @ 2016-07-17 09:47  52php  阅读(2888)  评论(0编辑  收藏  举报