SELECT TOP 10 * FROM PostsWithDeleted p JOIN PostHistory ...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT TOP 10 *
FROM PostsWithDeleted p
JOIN PostHistory ph ON p.Id = ph.PostId
WHERE
  p.DeletionDate IS NOT NULL AND
  p.PostTypeId=1 AND
  ph.PostHistoryTypeId = 12

Enter Parameters

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