What percentage of all posts are answers (for top users)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Blender Meta

Q&A about the site for people who use Blender to create 3D graphics, animations, or games

SELECT TOP(##num?500##)
  u.Id AS [User Link],
  u.Reputation,
  ROUND((SUM(case when p.PostTypeId = 2 then 1 else 0 end))*100.0/(COUNT(p.Id)),2) AS [Percentage Answers],
  COUNT(p.Id) AS [Total Posts],
  SUM(case when p.PostTypeId = 1 then 1 else 0 end) AS [Total Questions],
  SUM(case when p.PostTypeId = 2 then 1 else 0 end) AS [Total Answers],
  SUM(case when p.PostTypeId = 1 then p.Score else 0 end) AS [Score Questions],
  SUM(case when p.PostTypeId = 1 then p.Score else 0 end) AS [Score Answers]
FROM Users u INNER JOIN Posts p ON p.OwnerUserId=u.Id
GROUP BY u.Id, u.Reputation
ORDER BY u.Reputation DESC

Enter Parameters

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