update @临时表
set  数值=(select  取数 from 查询表 where 编号=@临时表.编号 )编号=@临时表.编号 这样的写法不能通过检查 
请问想实现上述功能,应该如何编写