Average votes of answers for users with at least MinAnswers answers
Q&A for students, teachers, polyglots, and anyone interested in the techniques of second-language acquisition
-- Average quality of answers by users -- Average votes of answers for users with at least MinAnswers answers select top 2000 OwnerUserId [User Link], Reputation, round(avg(Score + 0.0),2) as [Avg Score], count(*) as [Total Answers], sum(case when Score < 0 then 1 else 0 end) as [Negative Scored Answers] from Posts join Users u on u.Id = OwnerUserId where PostTypeId = 2 group by OwnerUserId, Reputation having count(*) > ##MinAnswers## order by [Avg Score] desc