Q&A for practitioners, researchers, and students in cognitive science, psychology, neuroscience, and psychiatry
SELECT UserId, COUNT(*) AS TotalComments FROM Comments GROUP BY UserId;