Answers with the most downs

1

Please login or register to vote for this query.

(click on this box to dismiss)

Computational Science

Q&A for scientists using computers to solve scientific problems

SELECT TOP 100
  Posts.Id AS [Post Link],
  Posts.Id AS Id,
  MIN(Posts.Score) AS Score,
  COUNT(*) AS Downs
FROM Posts, Votes
WHERE
  Posts.PostTypeId = 2
  AND
  Votes.VoteTypeId = 3
  AND
  Votes.PostId = Posts.Id
GROUP BY Posts.Id
ORDER BY Downs DESC, Posts.Id

Enter Parameters

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