我的语句如下:select nvl(sum(age),1) buxiang from consult_info r, BM_PHY_QUESTIONTYPE t,BM_PHY_QUESTIONTYPE s where (consult_category='03' or consult_category='04') and substr(r.question_classification,0,2)=t.dictid and substr(r.question_classification,0,4)=s.dictid and to_char(consult_time,'yyyy-mm-dd') between '2010-04-07'and '2010-04-07'age字段中值为null,则b1为null而不是为1,如果把group by去掉,则b1就变成1。问题在于由于要分组求和,因此,不能去掉group by,请教有何解决办法没有?谢谢!