使用如下的语句,可以查询另外一张表的数据进行update
update table_1 t1 inner join table_2 t2 on t1.id = t2.pid set t1.column = t2.column;
参考文章
https://www.cnblogs.com/wu628/p/4948833.html
使用如下的语句,可以查询另外一张表的数据进行update
update table_1 t1 inner join table_2 t2 on t1.id = t2.pid set t1.column = t2.column;
参考文章
https://www.cnblogs.com/wu628/p/4948833.html
微信扫码登录