Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

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
 
PREVIOUS NEXT
Tagged: #mysql #group #concat
ADD COMMENT
Topic
Name
6+8 =