UPDATE tablea aJOIN tableb bSET a.val = b.val WHERE b.id = a.id 转载于:https://www.cnblogs.com/go4mi/p/6297054.html