22,209
社区成员
发帖
与我相关
我的任务
分享
update f set f.BCODE=u.BCODE
from FUNC f inner join USER_INFO u2 on f.UID=u2.UID
inner join UCODE u on u2.UNAME=u.UNAME
update a
set a.bcode=b.bcode
from func a,ucode b,user_info c
where a.username=c.username and b.uid=c.uid