Number of users with reputation at least N that are created in the last M months

1

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow на русском

Вопросы и ответы для программистов

declare @months_ago DATETIME = DateAdd(month, -##months:int##, GETUTCDATE())

select count(Id) as [Number of Users]
from Users
where Reputation >=##minrep## and CreationDate > @months_ago

Enter Parameters

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