SELECT (SELECT COUNT(*) FROM USERS WHERE Reputation >= 50...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for professional and enthusiast programmers

SELECT 
(SELECT COUNT(*) FROM USERS WHERE Reputation >= 50) as FiftyOrMore,
(SELECT COUNT(*) FROM USERS WHERE Reputation >= 40) as FourtyOrMore,
(SELECT COUNT(*) FROM USERS WHERE Reputation >= 30) as ThirtyOrMore,
(SELECT COUNT(*) FROM USERS WHERE Reputation >= 20) as TwentyOrMore,
(SELECT COUNT(*) FROM USERS WHERE Reputation >= 10) as TenOrMore,
(SELECT COUNT(*) FROM USERS WHERE Reputation < 10) as LessThanTen

Enter Parameters

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