Q&A for Drupal developers and administrators
-- Find tags that only differ by hyphenation SELECT a.TagName AS First, b.TagName AS Second FROM Tags AS a, Tags AS b WHERE a.Id < b.Id AND REPLACE(a.TagName, '-', '') = REPLACE(b.TagName, '-', '');