34,576
社区成员
发帖
与我相关
我的任务
分享
--改一下
set price=c.price
from
a with(Nolock)
left join
b with(Nolock) on a.codeid=b.codeid
left join
c with(nolock) on a.stu=c.stu and c.id= 'value '
where b.pdid= '00 ' and a.price is null
UPDATE a
SET price=c.price
from a WITH (nolock)
left join b with (nolock) on a.codeid=b.codeid
left join c with(nolock)
on a.stu=c.stu and c.id= 'value '
where b.pdid= '00 ' and a.price is null