Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

use group_concat in concat

SELECT
    CONCAT(`Name`, ':', GROUP_CONCAT(`Value` SEPARATOR ',')) AS `Name`
FROM table
GROUP BY `Name`
 
PREVIOUS NEXT
Tagged: #concat
ADD COMMENT
Topic
Name
4+9 =