SELECT TOP 42 OwnerUserId AS [User Link], CAST(SUM(Score)...

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 TOP 42
  OwnerUserId AS [User Link],
  CAST(SUM(Score)*100 AS FLOAT)
  /
  CAST((SELECT SUM(Score) AS AllScore FROM PostsWithDeleted) AS FLOAT) AS Score
FROM PostsWithDeleted
GROUP BY OwnerUserId
ORDER BY Score DESC;

Enter Parameters

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