Users with Post Tags Sorted by Scores (with TagName from Tags Table)

1

Please login or register to vote for this query.

(click on this box to dismiss)

Robotics Meta

Q&A about the site for professional robotic engineers, hobbyists, researchers and students

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.Reputation,
                            p.Score,
                            u.Views,
                            u.UpVotes,
                            u.DownVotes,
                            u.EmailHash,
                            p.id as [Post Link],
                            p.Tags as [Tagged With],
                            t.TagName
FROM Users u, Posts p, Tags t, PostTags pt
WHERE
(u.Id=p.OwnerUserId) AND (pt.PostID=p.Id) AND (pt.TagId=t.Id) AND
     Upper(t.TagName) LIKE Upper('%##TagName##%') AND
     Upper(u.Location) LIKE Upper('%##Location##%')
Order By p.Score DESC;

Enter Parameters

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