Percentage of questions answered by moderators

1

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Different

Q&A for power users of Apple hardware and software

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

Enter Parameters

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