Questions which were reopended before getting undeleted


Please login or register to vote for this query.

(click on this box to dismiss)


Q&A for people studying math at any level and professionals in related fields

  ph1.PostId AS [Post Link],
  url = 'site://posts/' + CAST(ph1.PostId AS varchar)+'/revisions'
FROM PostHistory ph0 INNER JOIN PostHistory ph1  ON ph0.PostId=ph1.PostId
  INNER JOIN PostHistory ph2 ON ph1.PostId=ph2.PostId
WHERE (ph0.PostHistoryTypeId=12) AND (ph1.PostHistoryTypeId=11) AND (ph2.PostHistoryTypeId=13) AND
  (ph1.CreationDate<ph2.CreationDate) AND (ph0.CreationDate<ph1.CreationDate)
---11 = Post Reopened - post voted to be reopened
---12 = Post Deleted - post voted to be removed
---13 = Post Undeleted - post voted to be restored

Enter Parameters

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