Find developers by tag and location

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

-- How many upvotes do I have for each tag?
-- how long before I get tag badges?


SELECT TOP 20
    Posts.OwnerUserId,
    Users.AboutMe,
    TagName,
    COUNT(*) AS UpVotes 
FROM Tags
    INNER JOIN PostTags ON PostTags.TagId = Tags.id
    INNER JOIN Posts ON Posts.ParentId = PostTags.PostId
    INNER JOIN Votes ON Votes.PostId = Posts.Id and VoteTypeId = 2
    INNER JOIN Users ON Users.Id = Posts.OwnerUserId
WHERE 
    TagName = 'java'
    AND Users.Location like '%London%'
    AND (Users.AboutMe like '%http%' OR Users.AboutMe like '%email%' OR Users.AboutMe like '%@%')
GROUP BY TagName, Posts.OwnerUserId, Users.AboutMe  
ORDER BY UpVotes DESC

Enter Parameters

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