GROUP_CONCAT tem atributo DISTINCT: SELECT GROUP_CONCAT(DISTINCT categories ORDER BY categories ASC SEPARATOR ' ') FROM table