Q&A for professional and enthusiast programmers
select TOP 100 Users.Id As [User Link], Users.Reputation, count(*) As [Questions], Users.Reputation * 1.0/Count(*) As [Rep per Q], AVG(Posts.Score*1.0) As [Average Q Score] from Posts inner join Users on Posts.OwnerUserId = Users.Id where PostTypeId = 1 group by Users.Id, Users.DisplayName, Users.Reputation, OwnerUserId order by count(*) desc, Users.DisplayName, Users.Reputation;