当前位置: 代码迷 >> Sql Server >> 文章分组统计后的,在的到总行数,为什么有错?解决方法
  详细解决方案

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

热度:49   发布时间:2016-04-27 19:46:11.0
文章分组统计后的,在的到总行数,为什么有错???
文章分组统计后的,在的到总行数,为什么有错???

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


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