SELECT ph.PostId, p.Title AS [Post Link], ph.CreationDate...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Meta Stack Exchange

Q&A for meta-discussion of the Stack Exchange family of Q&A websites

SELECT ph.PostId,
       p.Title AS [Post Link],
       ph.CreationDate AS [Unprotected At],
       ph.UserId AS [Unprotected By ID]
FROM PostHistory ph
INNER JOIN Posts p ON ph.PostId = p.Id
WHERE ph.PostHistoryTypeId = 20
  AND ph.UserId = 59609
  AND ph.PostId IN
 (SELECT ph.PostId
  FROM PostHistory ph
  WHERE ph.PostHistoryTypeId = 19
    AND ph.UserId = -1);

Enter Parameters

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