Draft: Users with Post Tags Sorted by Votes

1

Please login or register to vote for this query.

(click on this box to dismiss)

Ask Ubuntu

Q&A for Ubuntu users and developers

SELECT Distinct u.Id AS [User Link],
                            CONCAT('https://stackoverflow.com/users/', u.Id) AS [Profile Link],
                            u.DisplayName,
                            u.Location,
                            u.WebsiteUrl,
                            u.AboutMe,
                            u.Views,
                            u.UpVotes,
                            u.DownVotes,
                            u.EmailHash,
                            Posts.id as [Post Link],
                            Posts.Tags as [Tagged With],
                            Votes.PostId
FROM Users u, Posts, Votes
WHERE
     (Votes.UserId=u.Id) And
     (u.Id=Posts.OwnerUserId) And
     Upper(Posts.Tags) LIKE Upper('%<##TagName##>%') AND
     Upper(u.Location) LIKE Upper('%##Location##%')
Order By Votes.PostId DESC;

Enter Parameters

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