Geographic distribution of StackOverflow Users

0

Please login or register to vote for this query.

(click on this box to dismiss)

Android Enthusiasts Meta

Q&A about the site for enthusiasts and power users of the Android operating system

SELECT
  Users.Id,
  Users.DisplayName,
  Users.Reputation,
  Users.Location,
  Users.Age,
  Users.WebsiteUrl,
  T.num_questions AS Questions
FROM
(
SELECT
  Users.Id AS user_id,
  COUNT(*) AS num_questions
FROM Posts
  INNER JOIN PostTags ON Posts.Id = PostTags.PostId
  INNER JOIN Tags ON Tags.Id = PostTags.TagId
  INNER JOIN Users ON Users.Id = Posts.OwnerUserId
WHERE Tags.TagName = 'ruby-on-rails' AND Posts.PostTypeId=1
GROUP BY Users.Id
) AS T
LEFT JOIN Users ON Users.Id = T.user_id
ORDER BY num_questions DESC

Enter Parameters

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