Most accepted answers total

3

Please login or register to vote for this query.

(click on this box to dismiss)

Drupal Answers

Q&A for Drupal developers and administrators

SELECT TOP 100
  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