sql server
update a
set a.gqdltks=b.gqdltks,a.bztks=b.bztks
from landleveldata a,gdqlpj b
where a.GEO_Code=b.lxqdm
oracle 和 DB2
update landleveldata a set (a.gqdltks, a.bztks)= (select b.gqdltks,b.bztks from gdqlpj b where a.GEO_Code=b.lxqdm)
sql server
update a
set a.gqdltks=b.gqdltks,a.bztks=b.bztks
from landleveldata a,gdqlpj b
where a.GEO_Code=b.lxqdm
oracle 和 DB2
update landleveldata a set (a.gqdltks, a.bztks)= (select b.gqdltks,b.bztks from gdqlpj b where a.GEO_Code=b.lxqdm)