MySQL多表更新

UPDATE A
JOIN B ON A.id = B.id
SET A.`name` = "sky",
 B.`name` = "andy";

 

posted @ 2017-05-22 14:18  K____K  阅读(164)  评论(0编辑  收藏  举报