SOru - Number of active posts last month per mod


Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow на русском

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

  count(*) PostsLastMonth, 
  3 Moderators, 
  (count(*) / 3) PostsLastMonthPerMod

from Posts

where LastActivityDate >= DATEADD(month, -1, 
                                  (Select max(LastActivityDate) from Posts)

Enter Parameters

Switch sites:
loading Hold tight while we fetch your results