Q&A for Salesforce administrators, implementation experts, developers and anybody in-between
SELECT TOP 10 COUNT (PostTypeId) postcount, OwnerUserId FROM Posts WHERE PostTypeId = '2' AND ClosedDate IS NULL AND OwnerUserId IS NOT NULL GROUP BY OwnerUserId ORDER BY postcount DESC