mysql group_concat and group by different columns code example
Example 1: group_concat in mysql
GROUP_CONCAT(eng_category_name SEPARATOR ',') as eng_category_name
Example 2: mysql group concat
/* By deafult separe itens by "," */
group_concat(p.nameItem) as listProdItem
/* Used <br> to list itens one below the other in HTML page */
group_concat(p.nameItem separator '<br>') as listProdItem