croup concat seperator code example
Example 1: mysql group_concat distinct
SELECT GROUP_CONCAT(DISTINCT categories ORDER BY categories ASC SEPARATOR ' ') FROM table
Example 2: mysql separator
GROUP_CONCAT(artists.artistname SEPARATOR '----')
SELECT GROUP_CONCAT(DISTINCT categories ORDER BY categories ASC SEPARATOR ' ') FROM table
GROUP_CONCAT(artists.artistname SEPARATOR '----')