Average User Reputation for All Popular Tags


Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

-- @author: Moradnejad --
SELECT TagName, CNT, Rep
  SELECT TagName, count(*) as CNT, AVG(Cast(rep as Float)) as Rep
    FROM (
      SELECT p.id, T.TagName, u.Reputation as rep
      from posts as p
      inner join PostTags as pt on pt.PostId=p.Id
      inner join Tags as t on t.Id=pt.TagId
      inner join Users as u on u.Id=p.OwnerUserId
    ) as t1
  group by TagName
  ) as t2
order by Rep desc

Enter Parameters

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