mysql group concat to create in 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 in mysql
GROUP_CONCAT(eng_category_name SEPARATOR ',') as eng_category_name