Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

group concat with separator

SELECT 
    GROUP_CONCAT(DISTINCT country
        ORDER BY country
        SEPARATOR ';')
FROM
    customers;
Source by www.mysqltutorial.org #
 
PREVIOUS NEXT
Tagged: #group #concat #separator
ADD COMMENT
Topic
Name
7+3 =