Q&A for meta-discussion of the Stack Exchange family of Q&A websites
-- 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.UserId, COUNT(ph.UserId) AS Protect_by_user
FROM PostHistory ph
WHERE ph.PostHistoryTypeId = 19
Group by ph.UserId