select dateadd(week, datediff(week, 0, creationdate), 0),...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Software Engineering

Q&A for expert programmers interested in professional discussions on software development

select dateadd(week, datediff(week, 0, creationdate), 0), count(*)
from users
where creationdate >= '1/1/2011'
group by dateadd(week, datediff(week, 0, creationdate), 0)
order by dateadd(week, datediff(week, 0, creationdate), 0)

Enter Parameters

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