Questions that have been protected at some point

0

Please login or register to vote for this query.

(click on this box to dismiss)

Philosophy Meta

Q&A about the site for those interested in the study of the fundamental nature of knowledge, reality, and existence

-- Unprotected questions that were protected automatically
--
-- Selects questions that have been unprotected by 59609 on RPG,
-- which were previously protected automatically by Community.

SELECT ph.PostId,
       p.Id AS [Post Link],
       ph.CreationDate AS [protected At]
       --COUNT(DISTINCT(A.Id)) AS 'Deleted Answers'
FROM PostHistory ph
INNER JOIN PostsWithDeleted p ON ph.PostId = p.Id
WHERE ph.PostHistoryTypeId = 19
 --- AND ph.UserId = 59609
 -- AND ph.PostId IN
 --(SELECT ph.PostId
 -- FROM PostHistory ph
  --WHERE ph.PostHistoryTypeId = 19
  --  AND ph.UserId = -1)
ORDER BY [protected At] DESC;

Enter Parameters

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