Percentage of users with X reputation or more

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
    COUNT(*) AS total_rows,
    COUNT(CASE WHEN Reputation > 10897 THEN 1 END) AS count_above_threshold,
    COUNT(CASE WHEN Reputation > 10897 THEN 1 END) * 100.0 / COUNT(*) AS percentage_above_threshold
FROM
    Users;

Enter Parameters

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