update 表A

inner join 表B

on 表A.关联字段 = 表B.关联字段

set 表a.待更新字段01 = 表B.字段01

  , 表a.待更新字段021 = 表B.字段02

where 其他条件

 

 

刚学mysql不久,先记录在此

相关文章: