Q&A for professional and enthusiast programmers
SELECT TagName, Count FROM Tags WHERE NOT EXISTS (SELECT Id FROM TagSynonyms WHERE TargetTagName = TagName OR SourceTagName = TagName) ORDER BY Count DESC, TagName ASC