Questions with highest average reputation of answerers

0

Please login or register to vote for this query.

(click on this box to dismiss)

Constructed Languages Meta

Q&A about the site for designers and users of artificial or invented languages, consciously developed instead of having developed naturally

SELECT TOP(##num?100##)
RANK() OVER(ORDER BY AVG(CAST(u.Reputation AS decimal)) DESC) AS Rank,
q.Id AS [Post Link],
AVG(CAST(u.Reputation AS decimal)) AS [Average Reputation],
SUM(u.Reputation) AS [Total Reputation],
COUNT(a.Id) AS [# of answers]
FROM Posts q INNER JOIN Posts a ON a.ParentId=q.Id
  INNER JOIN Users u ON u.Id=a.OwnerUserId
GROUP BY q.Id

Enter Parameters

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