What other tags are used on questions with a given tag?

1

Please login or register to vote for this query.

(click on this box to dismiss)

Mythology

Q&A for enthusiasts and scholars of mythology and folklore

SELECT 
  Tags.TagName AS tag_name
FROM PostTags
  INNER JOIN Tags
    ON Tags.Id = PostTags.TagId
WHERE 
  PostTags.PostId IN 
  (
    SELECT DISTINCT PostId
    FROM PostTags
      INNER JOIN Tags
        ON Tags.Id = PostTags.TagId
    WHERE Tags.TagName = '##TagName##'
  )
  AND Tags.TagName <> '##TagName##'
GROUP BY Tags.TagName
ORDER BY Tags.TagName

Enter Parameters

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