Average votes of answers for users with at least MinAnswers answers
Q&A for scientists using computers to solve scientific problems
-- 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