怎么写???
具体是字段c是工号
4 个解决方案
#1
update b
set b = a.a
from b,a
where b.c = a.c
set b = a.a
from b,a
where b.c = a.c
#2
update b
set b=a.a
from b,a
where a.c=b.c
#3
UPDATE B SET B=A FROM A WHERE A.C=B.C
#4
拜服!!!
#1
update b
set b = a.a
from b,a
where b.c = a.c
set b = a.a
from b,a
where b.c = a.c
#2
update b
set b=a.a
from b,a
where a.c=b.c
#3
UPDATE B SET B=A FROM A WHERE A.C=B.C
#4
拜服!!!