Average number of upvotes per answer
Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the Italian language
-- Avgerage Upvotes per Answer -- Average number of upvotes per answer SELECT TOP 20 Users.Id as [UserLink], Users.DisplayName as [User Link], COUNT(Posts.Id) As NumPosts, SUM(Posts.Score) As SumScore, AVG(Posts.Score) As AvgScore FROM Posts INNER JOIN Users ON Posts.OwnerUserID = Users.Id WHERE Posts.PostTypeID = 2 GROUP BY Users.Id, Users.DisplayName