如下两张表
table A
field id
field name
table B
field id
filed my_name
执行连表update语句
UPDATE A a, B b SET a.name = b.my_name WHERE a.id = b.id
时间: 2024-12-29 11:40:03
如下两张表
table A
field id
field name
table B
field id
filed my_name
执行连表update语句
UPDATE A a, B b SET a.name = b.my_name WHERE a.id = b.id