MySQL语法:
UPDATE a
INNER JOIN b
ON a.code = b.code
SET a.name = b.name
UPDATE a, b
SET a.name = b.name
WHERE a.code = b.code
MySQL语法:
UPDATE a
INNER JOIN b
ON a.code = b.code
SET a.name = b.name
UPDATE a, b
SET a.name = b.name
WHERE a.code = b.code