文章目录 一、设计a,b表结构,并插入数据二、SQL编写三、具体结果 一、设计a,b表结构,并插入数据 二、SQL编写 update a,b set b.name = a.name where a.id =b.id 三、具体结果