Review badges


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

declare @epoch datetime = '2011-11-20'; --

with review_weeks as (
  select dateadd(week, datediff(week, @epoch, Date), @epoch) week,
         count(*) N,
  from Badges
  where Name in ('Reviewer', 'Strunk & White')
  group by datediff(week, @epoch, Date), Name

select week, Name, N
from review_weeks
where abs(datediff(month, week, @epoch)) <= 6
order by week

Enter Parameters

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