先把a表导出成sql脚本,然后把sql脚本里面的相关字段修改,再导入到b表
帮你测试过,正确无误!
Update oluc_user a, player b Set b.password=a.password Where a.UserName = b.UserName;
# 未测试
Update oluc_user a,player b Set b.password=a.password Where a.id=b.id;
update b set b.password=a.password
from b inner join a on a.username=b.username
where 条件
这样试试