数据库字段 nian yue ri xiaoshi num数据库表 t_tongjiselect nian,yue,ri,sum(num) from t_tongji group by nian,yue,ri
select SUM(ISNULL(shuju,0)) from table group by date
请提供个数据格式。。