groupconcat mysql code example
Example 1: group by mysql and concatenate string
mysql> select Id,group_concat(Name SEPARATOR ',') as GroupConcatDemo from GroupConcatenateDemo
-> group by Id;
Example 2: group_concat mysql
GROUP_CONCAT(expr);
mysql> select Id,group_concat(Name SEPARATOR ',') as GroupConcatDemo from GroupConcatenateDemo
-> group by Id;
GROUP_CONCAT(expr);