Numer of users with at least on comment (per month)

1

Please login or register to vote for this query.

(click on this box to dismiss)

MathOverflow

Q&A for professional mathematicians

select 
  eomonth(CreationDate) [month],
  COUNT(DISTINCT UserId),
  COUNT(DISTINCT UserDisplayName),
  COUNT(DISTINCT UserId)+COUNT(DISTINCT UserDisplayname)
FROM Comments  
GROUP BY eomonth(CreationDate)  
ORDER BY eomonth(CreationDate)  
--UserDisplayname is shown when user account was deleted since then
--It is included to count also users that have been deleted in the meantime

Enter Parameters

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