mysql group_concat distinct
SELECT GROUP_CONCAT(DISTINCT categories ORDER BY categories ASC SEPARATOR ' ') FROM table
mysql group_concat distinct
SELECT GROUP_CONCAT(DISTINCT categories ORDER BY categories ASC SEPARATOR ' ') FROM table
group by mysql and concatenate string
mysql> select Id,group_concat(Name SEPARATOR ',') as GroupConcatDemo from GroupConcatenateDemo
-> group by Id;
mysql separator
GROUP_CONCAT(artists.artistname SEPARATOR '----')
group_concat in mysql
GROUP_CONCAT(eng_category_name SEPARATOR ',') as eng_category_name
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
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us