Top users by total score in the tag (over all tags)

1

Please login or register to vote for this query.

(click on this box to dismiss)

The Workplace Meta

Q&A about the site for members of the workforce navigating the professional setting

SELECT TOP (##num?1000##)
  a.OwnerUserId AS [User Link], a.OwnerDisplayName,
  t.TagName,
  AVG(CAST(a.Score AS decimal)) AS [Average Score],
  SUM(a.Score) AS [Total Score],
  COUNT(a.Score) AS [Count]
FROM Posts a INNER JOIN PostTags pt ON a.ParentId = pt.PostId
  INNER JOIN Tags t ON pt.TagId = t.Id
GROUP BY a.OwnerUserId, a.OwnerDisplayName, t.TagName
ORDER BY SUM(a.Score) DESC

Enter Parameters

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