Deleted questions by week

0

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 dateadd(week, datediff(week, 0, DeletionDate), 0) as [week],
  count(*) as TotalQuesions from PostsWithDeleted
  where PostTypeId = 1
  and DeletionDate >= '##start##'
group by datediff(week, 0, DeletionDate)
order by [week] asc

Enter Parameters

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