Most accepted answers total

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 2000
  a.OwnerUserId AS [User Link],
  Count(*) AS [Count]
FROM Votes v, Posts q, Posts a
WHERE v.VoteTypeId = 1
  AND v.PostId = a.Id
  AND q.AcceptedAnswerId = a.Id
  AND q.OwnerUserId <> a.OwnerUserId
GROUP BY a.OwnerUserId
ORDER BY Count(*) DESC

Enter Parameters

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