Posts with the most accepted answers

1

Please login or register to vote for this query.

(click on this box to dismiss)

If an accepted answer becomes deleted, a new answer will be acceptable, but the accept vote doesn't disappear.

Stack Overflow на русском Meta

Вопросы и ответы о сайте для программистов

SELECT TOP 100
  PostsWithDeleted.ParentId AS [Post Link],
  PostsWithDeleted.ParentId AS Id,
  COUNT(*) AS Count
FROM Votes, PostsWithDeleted
WHERE
  Votes.VoteTypeId = 1
  AND
  Votes.PostId = PostsWithDeleted.Id
GROUP BY PostsWithDeleted.ParentId
ORDER BY Count DESC, PostsWithDeleted.ParentId

Enter Parameters

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