Dynamics of accept votes

0

Please login or register to vote for this query.

(click on this box to dismiss)

Accept votes

Stack Overflow

Q&A for professional and enthusiast programmers

select VX.YR_WK, COUNT(VX.id)
from VoteTypes VT
join (select V.VoteTypeId As VoteTypeId, 
(datepart(yy, V.creationdate) + (datepart(wk, V.creationdate)-1) / 52.0) as YR_WK, V.ID as ID
from Votes V) VX
on VX.VoteTypeId = VT.id AND VT.Name='UpVoteMod'
group by VX.YR_WK
order by VX.YR_WK

Enter Parameters

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