mysql两个表关联更新问题?_百度知道
最佳答案: UPDATE tb1,tb2 SET tb1.address=tb2.address WHERE tb1.name=tb2.name用上面这个sql语句,举一反三吧更多关于MYSQL 一对多的关联表的数据更新问题的问题>>
mysql多表关联更新问题_百度知道
最佳答案: 按照描述这么写: update 表名 t1set t1.name=(select name from 表名 t2where t2.pid=t1.pid and t2.name is not null and rownum=1)where ...更多关于MYSQL 一对多的关联表的数据更新问题的问题>>