sql >> Base de Datos >  >> RDS >> Mysql

MySQL DISTINTO en un GROUP_CONCAT()

GROUP_CONCAT tiene atributo DISTINTO:

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