Q&A for folks dedicated to a lifestyle that can be maintained indefinitely without depleting available resources
SELECT TOP 100 'site://review/close/'+CAST(rt.Id AS varchar)+'|'+CAST(rt.Id AS varchar) AS 'Id', COUNT(ReviewTaskResultTypeId) FROM ReviewTasks rt LEFT JOIN ReviewTaskResults rtr ON rtr.Id = rt.CompletedByReviewTaskId LEFT JOIN ReviewTaskResultTypes rtrt ON rtr.ReviewTaskResultTypeId>6 JOIN Posts p ON rt.PostId = p.Id WHERE rt.ReviewTaskStateId > 1 --completed or invalidated AND rt.ReviewTaskTypeId = 2 --close votes GROUP BY rtr.ReviewTaskResultTypeId,rt.Id