Celebrities (top 500 users ordered by profile views to rep points)

0

Please login or register to vote for this query.

(click on this box to dismiss)

Stack Overflow

Q&A for programmers

SELECT  TOP 500
        ROW_NUMBER() OVER (ORDER BY [Views to Rep] DESC) AS [#], *
FROM    (
        SELECT  u.Id AS [User Link], u.Views, u.Reputation, 1. * u.Views / u.Reputation AS [Views to Rep]
        FROM    Users u
        WHERE   u.Reputation >= 2000
        ) q
ORDER BY
        [Views to Rep] DESC

Enter Parameters

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