tableA ( uid , prov , sex, other info)
tableB ( uid, prov, sex, other info)
想用tableA的一些记录update tableB 或者 insert 到tableB,约束是:uid相同
谢谢:)
tableB ( uid, prov, sex, other info)
想用tableA的一些记录update tableB 或者 insert 到tableB,约束是:uid相同
谢谢:)
select a.* from a inner join b on a.uid=b.uid
or
replace into b
select a.* from a inner join b a on a.uid=b.uid