update t
set colToUpdate = nextValue
from (
select A
,B
,C
,(LEAD(B, 1, null) over (order by A)) as nextValue
FROM db.schema.table
) as t
where colToUpdate is null
This requires that the column you want to update is null, unless you want to update all of them.