update 表1 set 表1.列=表2.列 from 表2 where 表2.id=表1.id 转载于:https://www.cnblogs.com/xiangzhong/p/4940235.html