Q&A about the site for students, teachers, and linguists wanting to discuss the finer points of the Italian language
-- For a particular tag, average Upvotes per Answer per user SELECT Users.Id, Users.DisplayName, COUNT(Posts.Id) As NumPosts, SUM(Posts.Score) As SumScore, AVG(Posts.Score) As AvgScore, STDEV(Posts.Score) As StdDevScore FROM Posts INNER JOIN Users ON Posts.OwnerUserID = Users.Id WHERE Posts.PostTypeID = 2 AND Posts.ParentId IN ( -- Posts with a particular tag SELECT Posts.Id FROM Posts INNER JOIN PostTags ON Posts.Id = PostTags.PostId INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE Posts.PostTypeID = 1 AND Tags.TagName = '##tagname##' ) GROUP BY Users.Id, Users.DisplayName HAVING COUNT(Posts.Id) >= 10