UPDATE tba a LEFT JOIN tbb b on a.id=b.id set a.name = b.name where a.id = b.id
create database test
default character set utf8mb4 collate utf8mb4_general_ci;
UPDATE tba a LEFT JOIN tbb b on a.id=b.id set a.name = b.name where a.id = b.id
create database test
default character set utf8mb4 collate utf8mb4_general_ci;