Number of users with at least one comment (per year)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Genealogy and Family History Meta

Q&A about the site for expert genealogists and people interested in genealogy or family history

SELECT Year(c.CreationDate) [month],
  COUNT(DISTINCT c.UserId) AS [Users],
  COUNT(DISTINCT c.UserDisplayName) AS [Deleted Users],
  CAST(COUNT(DISTINCT c.UserId)+COUNT(DISTINCT c.UserDisplayName) AS Integer) AS [Total Users]
FROM Comments c
WHERE c.CreationDate >= '##Date1?2000-01-01##' AND c.CreationDate <= '##Date2?3000-01-01##'
GROUP BY Year(c.CreationDate)
ORDER BY Year(c.CreationDate)

Enter Parameters

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