MYSQL SQL更新多个字段
程序员文章站
2023-12-24 20:09:15
...
MYSQL SQL更新多个字段
UPDATE table_a a INNER JOIN
(select b.* from table_b b where b.username like '%aa') s SET
a.gender = s.gender ,
a.phone = s.phone
where a.username like '%bb%'