Answerers per year


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

with answerers_year as
select u.Id, year(a.CreationDate) year
from Users u
     join PostsWithDeleted a on a.OwnerUserId = u.Id and a.PostTypeId = 2
where a.Score > 0
group by u.Id, year(a.CreationDate)

select year, count(*)
from answerers_year
group by year
order by year

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results