JavaShuo
批量更新字段(把表A的字段值复制到表B中)
时间 2020-08-27
标签
批量
更新
字段
复制
update 表 A , 表 B
date
set A.name = B.name where A.id = B.id
注:把要更新的目标字段放在等号前面。