Q&A for Salesforce administrators, implementation experts, developers and anybody in-between
SELECT TOP 10 OwnerUserId, AVG(Score) AvgScore, Count (PostTypeId) FROM Posts WHERE PostTypeId = 2 GROUP BY OwnerUserId ORDER BY AVG(Score) DESC