Top score in answer between two dates

1

Please login or register to vote for this query.

(click on this box to dismiss)

The Great Outdoors

Q&A for people who love being outdoors enjoying nature and wilderness, and learning about the required skills and equipment

SELECT TOP(##num?500##)
  RANK() OVER(ORDER BY SUM(Score) DESC) AS [Rank],
  OwnerUserId AS [User Link],
  SUM(Score) AS [Total Score],
  COUNT(Id) AS [Count]
FROM Posts
WHERE (CreationDate >= '##Date1?2020-01-01##') AND (CreationDate <= '##Date2?2021-01-01##')
  AND (PostTypeId=2) ---answers
GROUP BY OwnerUserId
ORDER BY SUM(Score) DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results