questions per minute

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 count(*) / 1440.0
from postswithdeleted p
where datepart(year, getdate()) = datepart(year, p.creationdate)
and datepart(dayofyear, getdate()) - 7 = datepart(dayofyear, p.creationdate)
and p.posttypeid = 1 -- questions

Enter Parameters

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