Users with zero accept rate

0

Please login or register to vote for this query.

(click on this box to dismiss)

Does not count self-answers. Shows users with at least @MinAnswers answers.

Mathematics

Q&A for people studying math at any level and professionals in related fields

-- Users with highest accept rate of their answers
-- Does not count self-answers. 
-- Shows users with at least @MinAnswers answers.

SELECT TOP 100
  u.Id AS [User Link]
 ,COUNT(*) AS NumQuestions
 ,SUM( CASE WHEN q.AcceptedAnswerId IS NOT NULL THEN 1 ELSE 0 END) AS NumAccepted
 ,MIN(u.Reputation) AS Reputation
FROM       Posts q
INNER JOIN Users u ON u.Id = q.OwnerUserId
WHERE q.PostTypeId = 1 -- question
GROUP BY u.Id
ORDER BY
  NumAccepted ASC,
  -- Reputation DESC,
  NumQuestions DESC

Enter Parameters

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