批量更新字段(把表A的字段值复制到表B中)

update 表 A , 表 Bdate

set A.name = B.name where A.id = B.id

注:把要更新的目标字段放在等号前面。