isnull rollup group by 三个关键字

SELECT isnull(Name,'小计') AS Name,sum(Value)as Value from test1 group by name with rollup

posted @ 2008-10-29 10:15  木饭  阅读(316)  评论(0编辑  收藏  举报