Top Answerers for Hadoop

0

Please login or register to vote for this query.

(click on this box to dismiss)

Role-playing Games

Q&A for gamemasters and players of tabletop, paper-and-pencil role-playing games

SELECT 
    TOP 100
    Users.Id as [User Link],
    Users.Reputation,
    Count(Posts.Id) AS Answers,
    CAST(AVG(CAST(Score AS float)) as numeric(6,2)) AS [Average Answer Score]
FROM
    Posts
  INNER JOIN
    Users ON Users.Id = OwnerUserId
  inner join
    PostTags on PostTags.PostId = Posts.ParentId
  inner join 
    Tags on Tags.id=PostTags.TagId
WHERE 
    PostTypeId = 2 and CommunityOwnedDate is null and ClosedDate is null
    and Tags.TagName in ('hadoop','piglatin','mapreduce','pig','hdfs','hbase','hive','cloudera')
    and Posts.CreationDate >= '2012-10-01'
    and Posts.CreationDate <= '2012-12-31'
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