Q&A for professional and enthusiast programmers
Select top 200 Users.Id, Users.DisplayName, Reputation, Count(Posts.Id) as 'AnswerCount', 1.0 * Reputation / Count(Posts.Id) as 'AvgReputationPerAnswer' from Users join Posts on Posts.OwnerUserID = Users.Id where PostTypeId = (Select id from PostTypes where Name = 'Answer') group by Posts.OwnerUserID, Users.Id, Users.DisplayName, Reputation order by reputation desc;