Number of answers per user

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select answer_count, count(*) as N
    from (
        select owneruserid, count(*) AS answer_count
          from posts
         where posttypeid = 2
      group by owneruserid) t
group by answer_count
order by N desc;

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results