Users with the most answers per day


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

select top 500
     u.Id as [User Link]
     , datediff(dd, u.creationdate, GETDATE() ) as [Days]
     , count(a.Id) as [Total Answers]  
     , cast(count(a.Id) as float)*sign(count(a.Id) - 99) / datediff(dd, u.creationdate, GETDATE()) as [Answers/Day Ratio]
from Users u
inner join Posts a 
on a.OwnerUserId = u.Id
where a.PostTypeId=2
group by u.Id, u.creationdate
order by [Answers/Day Ratio] desc

Enter Parameters

Switch to meta site
loading Hold tight while we fetch your results