Posts which were undeleted most times

1

Please login or register to vote for this query.

(click on this box to dismiss)

Anime and Manga Meta

Q&A about the site for anime and manga fans

SELECT TOP(##num?500##)
  COUNT(ph.Id) AS [Count],
  ph.PostId AS [Post Link],  
  'site://posts/' + CAST(ph.PostId AS varchar)+'/revisions' AS [Revision History]
FROM PostHistory ph
WHERE ph.PostHistoryTypeId=13
GROUP BY ph.PostId 
ORDER BY Count(ph.Id) DESC
---12 = Post Deleted - post voted to be removed
---13 = Post Undeleted - post voted to be restored

Enter Parameters

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