Q&A for Salesforce administrators, implementation experts, developers and anybody in-between
SELECT TOP 10 Comments.Id AS [Comment Link], Users.Id AS [User Link] FROM Comments JOIN Posts ON PostId = Posts.Id JOIN Users ON Posts.OwnerUserId = Users.Id WHERE Comments.CreationDate BETWEEN '2012-12-01' AND '2013-01-01' AND Posts.ClosedDate IS NOT NULL ORDER BY Comments.Score DESC