Number of users with [reputation] logged in at least once in 6 months

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

declare @rep int = ##Reputation:int?20000##

select 
  count(id) as [Total Users] 
from 
  users as u 
where 
  u.reputation >= @rep 
  and u.LastAccessDate >= dateadd( month, -6, getdate() )

Enter Parameters

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