mysql 将一张表的数据更新到另一张表中

update 更新表 set 字段 = (select 参考数据 from 参考表 where  参考表.id = 更新表.id);html update table_2 m  set m.column = (select column from table_1 mp where mp.id= m.id);sql 例如: update person p set p.login_account_id
相关文章
相关标签/搜索