Unprotected questions that were protected automatically

0

Please login or register to vote for this query.

(click on this box to dismiss)

Economics

Q&A for those who study, teach, research and apply economics and econometrics

-- 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 [Unprotected At]
FROM PostHistory ph
INNER JOIN Posts p ON ph.PostId = p.Id
WHERE ph.PostHistoryTypeId = 19
  AND ph.UserId = -1
  AND ph.PostId IN
 (SELECT ph.PostId
  FROM PostHistory ph
  WHERE ph.PostHistoryTypeId = 20
    AND ph.UserId != 59609)
ORDER BY [Unprotected At] DESC;

Enter Parameters

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