php中如何把A表更新的字段存在B表的另一个字段下

2024-12-03 20:20:24
推荐回答(1个)
回答1:

update B set extra = A.extra from A join B on (A.id = B.id);