Q&A for researchers, developers, and users of Tor
SELECT TargetTagName AS MainTag , TagName as TagName , Tags.Id as TagId FROM Tags LEFT JOIN TagSynonyms ON SourceTagName=TagName