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

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

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


------解决方案--------------------
select count(*) from (select author,count(*) from articles group by author) AS a