Users with answers in most tags (including deleted users)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

---this query does not return exact numbers
---some users have both Id and DisplayName NOT NULL
---but this only happens for small number of posts, so this might be a reasonable approximation
SELECT TOP(##num?100##)
  RANK() OVER(ORDER BY COUNT(DISTINCT pt.TagId) DESC) AS Rank,
  a.OwnerUserId AS [User Link],
  a.OwnerDisplayName,
  COUNT(DISTINCT pt.TagId) AS [# of tags]
FROM Posts a INNER JOIN Posts q ON a.ParentId=q.Id
  INNER JOIN PostTags pt ON pt.PostId=q.Id
---WHERE (a.CommunityOwnedDate IS NULL)  
GROUP BY a.OwnerUserId, a.OwnerDisplayName
ORDER BY COUNT(DISTINCT pt.TagId) DESC

Enter Parameters

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