标签:
select nvl(sno,‘合计‘) sno,sum(score) score from sc group by rollup(sno);
sql在最后一行添加合计
原文地址:http://www.cnblogs.com/feng666666/p/5898949.html