Mysql 根据一个表数据更新另一个表

方法一:html update 更新表 set 字段 = (select 参考数据 from 参考表 where  参考表.id = 更新表.id);sql update table_2 m set m.column = (select column from table_1 mp where mp.id= m.id); 方法二:post update table_1 t1,table_2 t2
相关文章
相关标签/搜索