Q&A for people studying math at any level and professionals in related fields
SELECT UserId, COUNT(*) AS TotalComments FROM Comments GROUP BY UserId;