如果不用isnull函数判断则计算出来如果有一列是null 则相加就是null,如 两列:1 null 1+null = null
select sum(ISNULL(jinE,0)+ISNULL(qitajine,0)) yingyeE form a

05-11 02:46