Q&A for professional and enthusiast programmers
select dateadd(week, datediff(week, 0, ClosedDate), 0) as [week], count(*) as TotalQuestions from PostsWithDeleted where PostTypeId = 1 and ClosedDate >= '##start##' group by datediff(week, 0, ClosedDate) order by [week] asc