Top 500 answerers on the site

0

Please login or register to vote for this query.

(click on this box to dismiss)

A list of the top 500 users with the highest average answer score excluding community wiki / closed posts or users with less than 10 answers

Science Fiction and Fantasy

Q&A for science fiction and fantasy enthusiasts

SELECT 
    TOP 100
    Users.Id as [User Link],
    Count(Posts.Id) AS Answers,
    Users.Reputation,
    
    CAST(AVG(CAST(Score AS float)) as numeric(6,2)) AS [Average Answer Score]
FROM
    Posts
  INNER JOIN
    Users ON Users.Id = OwnerUserId
WHERE 
upper(Users.location) not like ('%UK%')
and upper(Users.location) not like ('%CHINA%')
and upper(Users.location) not like ('%INDIA%')
and upper(Users.location) not like ('%NETHERLANDS%')
and AboutMe like '%facebook%' 
or AboutMe like '%linkedin%' 
or AboutMe like '%@%' 
or WebsiteUrl like '%linkedin%' 
or WebsiteUrl like '%facebook%'
or WebsiteUrl like '%@%'

GROUP BY
    Users.Id, DisplayName, Users.Reputation
HAVING
    Count(Posts.Id) > 10
ORDER BY
    [Average Answer Score] DESC

Enter Parameters

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