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
相關文章
相關標籤/搜索