Dynamics of accept votes


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='AcceptedByOriginator'
group by VX.YR_WK
order by VX.YR_WK

Enter Parameters

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