SELECT TOP 100 Name,COUNT(ReviewTaskResultTypeId) FROM Re...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Sustainable Living

Q&A for folks dedicated to a lifestyle that can be maintained indefinitely without depleting available resources

SELECT TOP 100
Name,COUNT(ReviewTaskResultTypeId) 
FROM ReviewTasks rt
LEFT JOIN ReviewTaskResults rtr ON rtr.Id = rt.CompletedByReviewTaskId
LEFT JOIN ReviewTaskResultTypes rtrt ON rtr.ReviewTaskResultTypeId = rtrt.Id
JOIN Posts p ON rt.PostId = p.Id
WHERE rt.ReviewTaskTypeId = 2 --close votes
GROUP BY Name,ReviewTaskResultTypeId

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results