Top Users by location and tag

0

Please login or register to vote for this query.

(click on this box to dismiss)

Created by samliew (http://stackoverflow.com/users/584192/samuel-liew)

Quantum Computing

Q&A for engineers, scientists, programmers, and computing professionals interested in quantum computing

-- Top Users by location and tag (see http://stackoverflow.com/tags)
-- Created by samliew (http://stackoverflow.com/users/584192/samuel-liew)
-- Modified by sgryzko


  SELECT
    Users.Id AS [User Link],
    SUM(Answers.Score) AS Score,
    Tags.TagName 
  FROM Posts AS Answers 
    INNER JOIN Posts AS ParentQuestions 
    ON ParentQuestions.Id = Answers.ParentId
    
    INNER JOIN Users AS Users
    ON Answers.OwnerUserId = Users.Id
    
    INNER JOIN PostTags 
    ON PostTags.PostId = Answers.ParentId
   
    INNER JOIN Tags
    ON Tags.Id = PostTags.TagId
  WHERE
    Users.Id >= 000*1000
    AND
    Users.Id < 25*1000
  GROUP BY
    Users.Id,
    Tags.TagName 
  ORDER BY
  Score DESC

Enter Parameters

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