Edit vote core

1

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 YR_WK, count(*) as NumActiveEditReviewers from (
select
      (datepart(yy, s.creationdate) + (datepart(wk, s.creationdate)-1) / 52.0) as YR_WK
    , u.id as UID
    , count (*) as NumEditVotes
  from users u
  inner join SuggestedEditVotes s on
        s.userid = u.id
  group by 
     (datepart(yy, s.creationdate) + (datepart(wk, s.creationdate)-1) / 52.0)
    , u.id
    ) EditVotesPerUPerWk
where NumEditVotes > 1
group by YR_WK
order by YR_WK asc

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results