SQL从一张表更新另一张表

update 表1 set 表1.A=表2.A from 表2 where 表1.B=表2.B

原文地址:https://www.cnblogs.com/marslin/p/3714049.html