日期:2014-05-18  浏览次数:20447 次

文章分组统计后的,在的到总行数,为什么有错??? SQL SERVER
文章分组统计后的,在的到总行数,为什么有错???

select   count(*)   from   (select   author,count(*)   from   articles   group   by   author)


------解决方案--------------------
在SQLserver中,如果出现了Count函数,就不可以再使用Group by