Percentage of answers posted by moderators

1

Please login or register to vote for this query.

(click on this box to dismiss)

Cognitive Sciences Meta

Q&A about the site for practitioners, researchers, and students in cognitive science, psychology, neuroscience, and psychiatry

---the parameter list can be changed to any list of users
---the below list corresponds to the moderators on MathOverflow
SELECT 
COUNT(DISTINCT a.Id) AS [All Answers],
COUNT(DISTINCT (CASE WHEN a.OwnerUserId IN(##list?2,3,66,121,1409,2000,2926##) THEN a.Id END)) AS [Answered by Users],
ROUND((CAST((COUNT(DISTINCT (CASE WHEN a.OwnerUserId IN(##list?2,3,66,121,1409,2000,2926##) THEN a.Id END))) AS decimal))*100.0/(CAST((COUNT(DISTINCT a.Id)) AS decimal)),2) AS [Percentage]
FROM Posts a 
WHERE a.PostTypeId=2
---only answers

Enter Parameters

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