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`
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #concat
ADD COMMENT
Topic
Name
8+3 =