Tag Stats


Please login or register to vote for this query.

(click on this box to dismiss)

Code Review

Q&A for peer programmer code reviews

select count(*) Questions,
       sum(answercount) Answers,
       round(avg(cast(answercount as float)),3) AvgAnswers,
       round(stdev(cast(answercount as float)),3) StdAnswers,
       sum(commentcount) Comments,
       round(avg(cast(commentcount as float)),3) AvgComments,
       round(stdev(cast(commentcount as float)),3) StdComments,
       sum(viewcount) Views,
       round(avg(cast(viewcount as float)),3) AvgViews,
       round(stdev(cast(viewcount as float)),3) StdViews,
       sum(score) Score,
       round(avg(cast(score as float)),3) AvgScore,
       round(stdev(cast(score as float)),3) StdScore,
       min(creationdate) FirstAsked,
       max(creationdate) LastAsked,
       max(lastactivitydate) LastActivity
--       datepart(weekday, creationdate) CreationDay
from Posts p
where p.Tags like '%##Tag##%' and p.PostTypeId = 1
group by OwnerUserId

Enter Parameters

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