两个表中的主键相同,SQL如何在其中一个表对应着主键字段插入某个字段内容到另一个表中?

2025-03-09 23:22:54
推荐回答(1个)
回答1:

update 表2 set 表2.company=表1.company where 表2.cardId=表1.cardId