SOpt - Number of active posts last month per mod

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow em Português

Perguntas e respostas para programadores profissionais e entusiastas

select 
  count(*) ActiveUsersLastMonth, 
  6 Moderators, 
  (count(*) / 6) ActiveUsersPerMod

from Users

where LastAccessDate >= DATEADD(month, -1, 
                                  (Select max(LastAccessDate) from Users)
                                )

Enter Parameters

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