Q&A for SharePoint enthusiasts
-- WITH SuggEds AS ( SELECT se.OwnerUserId FROM SuggestedEdits se INNER JOIN Posts p ON p.Id = se.PostId WHERE se.ApprovalDate IS NULL AND se.RejectionDate IS NULL -- )