Split users by amount of reputation digits

1

Please login or register to vote for this query.

(click on this box to dismiss)

Programming Language Design and Implementation

Q&A for designers and implementers of computer programming languages

Select Len(Convert(nvarchar(20), Reputation)) As [Rep Digits], 
    Count(Id) As [Users Count]
From Users
Group By Len(Convert(nvarchar(20), Reputation))
Order By [Rep Digits] Asc

Enter Parameters

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