update T_O_TopNDisconnect a
set CheckBoardCount=(select count(distinct CurrDate) from T_O_TopNDisconnect b
    where (b.CurrDate between a.CurrDate-6 and a.CurrDate) and (b.BusiDiscRate>2.5) and (b.SectorOID=a.SectorOID))
where exists (select 1 from T_O_TopNDisconnect b
    where (b.CurrDate between a.CurrDate-6 and a.CurrDate) and (b.BusiDiscRate>2.5) and (b.SectorOID=a.SectorOID) and a.AuditResult=0);
子查询层级太多了,最里面已经不能访问最外层的表名了吧
可以用count(distinct CurrDate)去掉一层子查询