update a set a.name=b.name from b where a.id=b.id 转载于:https://www.cnblogs.com/tony312ws/archive/2012/06/01/2530777.html