What is the average of accepted answer percentage rate

0

Please login or register to vote for this query.

(click on this box to dismiss)

On avg how often are answers I give, accepted

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT a.OwnerUserId AS [User Link],
    (CAST(Count(a.Id) AS float) / (SELECT Count(*) FROM Posts WHERE PostTypeId = 2) * 100) AS AcceptedPercentage
FROM
    Posts q
  INNER JOIN
    Posts a ON q.AcceptedAnswerId = a.Id
WHERE
    a.PostTypeId = 2
GROUP BY a.OwnerUserId
HAVING
    Count(a.OwnerUserId) > 10
ORDER BY AcceptedPercentage DESC

Enter Parameters

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