MySQL多表更新

UPDATE A
JOIN B ON A.id = B.id
SET A.`name` = "sky",
 B.`name` = "andy";
原文地址:https://www.cnblogs.com/GotoJava/p/6889251.html