用sql从一张表更新数据到另外一张表(多表数据迁移)

update TBL_1 A, TBL_2 B, TBL_3 Cset a.email=c.email_addr
where a.user_id=b.user_id and b.un_id=c.un_id

多表之间的简单数据迁移

老是记不得,mark下来备用

posted on 2014-01-27 14:52  tomcat and jerry  阅读(577)  评论(0编辑  收藏  举报

导航