My Comment Score distribution

0

Please login or register to vote for this query.

(click on this box to dismiss)

How many comments do I have for each score.

Data Science

Q&A for Data science professionals, Machine Learning specialists, and those interested in learning more about the field

DECLARE @UserId int = ##UserId##

SET STATISTICS IO ON 
SELECT 
    Count(*) AS CommentCount,
    Score
FROM 
    Comments
WHERE 
    UserId = @UserId
GROUP BY 
    Score
--ORDER BY Score DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results