SELECT UserId [User ID], sum(CAST(Score/5 AS int)) [Notif...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Meta Stack Exchange

Q&A for meta-discussion of the Stack Exchange family of Q&A websites

SELECT
  UserId [User ID],
  sum(CAST(Score/5 AS int)) [Notification Count]
FROM Comments 
GROUP BY UserId
ORDER BY [Notification Count] DESC

Enter Parameters

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