文章分组统计后的,在的到总行数,为什么有错?解决方法

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

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

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


[解决办法]
select count(*) from (select author,count(*) from articles group by author) AS a