Questions with most delete votes

1

Please login or register to vote for this query.

(click on this box to dismiss)

Reverse Engineering Meta

Q&A about the site for researchers and developers who explore the principles of a system through analysis of its structure, function, and operation

SELECT TOP(##num?500##)
  COUNT(v.Id) AS [Count],
  v.PostId AS [Post Link],
  url = 'site://q/' + CAST(v.PostId AS varchar),
  'site://posts/' + CAST(v.PostId AS varchar)+'/revisions' AS [Revision History],
  p.Score, p.ViewCount, p.CreationDate, p.Tags 
FROM Votes v INNER JOIN PostsWithDeleted p ON v.PostId=p.Id
WHERE (v.VoteTypeId=10) AND (p.PostTypeId=1)
GROUP BY v.PostId, p.Score, p.ViewCount, p.CreationDate, p.Tags 
ORDER BY COUNT(v.Id) DESC
---VoteTypeId
---10 = Deletion
---11 = Undeletion

Enter Parameters

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