Questions protected by the community user

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 [protected At]
FROM PostHistory ph
INNER JOIN Posts p ON ph.PostId = p.Id
WHERE ph.PostHistoryTypeId = 19
  AND ph.UserId = -1
 --- 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