Q&A for professional and enthusiast programmers
SELECT Distinct u.Id AS [User Link], CONCAT('https://stackoverflow.com/users/', u.Id) AS [Profile Link], u.DisplayName, u.Location, u.WebsiteUrl, p.PostTypeId, p.id as [Post Link], p.PostTypeId, u.Reputation, c.Id as [Comment Link] FROM Users u, Posts p, PostTags pt, Tags t, Comments c WHERE p.Id = pt.PostID AND pt.TagId=t.Id AND u.Id = p.OwnerUserId AND c.PostId = p.Id AND Upper(t.TagName) LIKE Upper('%##TagName##%') AND Upper(u.Location) LIKE Upper('%##Location##%') Order By u.Reputation DESC;