Posts which were undeleted most times


Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

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

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