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],
	SUM(a.Score) AS TotalAnswers
FROM Users u
INNER JOIN Posts a ON a.OwnerUserId = u.Id
WHERE a.PostTypeId = 1 -- answers
  AND a.CreationDate >= '20150401'
GROUP BY u.Id
ORDER BY SUM(a.Score) DESC

Enter Parameters

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