Users with most comments between two dates

1

Please login or register to vote for this query.

(click on this box to dismiss)

Biblical Hermeneutics Meta

Q&A about the site for professors, theologians, and those interested in exegetical analysis of biblical texts

SELECT TOP(##num?100##)
  RANK() OVER(ORDER BY COUNT(c.Id) DESC) AS Rank,
  c.UserId AS [User Link],
  COUNT(c.Id) AS [Number of Comments]
FROM Comments c 
WHERE (c.CreationDate >= '##Date1?2022-01-01##') AND (c.CreationDate <= '##Date2?2023-01-01##')
GROUP BY c.UserId
ORDER BY COUNT(c.Id) DESC

Enter Parameters

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