Top 50 Users with the Most Answers

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 TOP 50
	u.Id AS [User Link],
	COUNT(a.Id) AS TotalAnswers
FROM Users u
INNER JOIN Posts a ON a.OwnerUserId = u.Id
WHERE a.PostTypeId = 2 -- answers
  AND a.CreationDate >= '20150401'
GROUP BY u.Id
ORDER BY COUNT(a.Id) DESC

Enter Parameters

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