select b1+c1 as sb1 from leveltrain where id=1错了不管!哈,哈哈,哈哈哈......

解决方案 »

  1.   

    select sum(b1+c1) as sb1 from leveltrain where id=1
      

  2.   

    Select p=Sum(b1)+Sum(c1) From leveltrain where id=1
      

  3.   

    Select p=IsNull(Sum(b1),0)+IsNull(Sum(c1),0) From leveltrain where id=1
      

  4.   

    select sum(isnull(b1,0)+isnull(c1,0)) as sb1 from leveltrain where id=1
      

  5.   

    select sum(isnull(b1,0)+isnull(c1,0)) as sb1 from leveltrain where id=1
      

  6.   

    ok  ok  ok 
    了解 了解
    大家说的都对 
    我明白了 
    谢谢
    结贴