MySQL Tutorial/Aggregate Functions/GROUP CONCAT
Версия от 13:44, 26 мая 2010; (обсуждение)
GROUP_CONCAT(expr) returns a string result with the concatenated non-NULL values from a group
The full syntax is as follows:
GROUP_CONCAT([DISTINCT] expr [,expr ...]
[ORDER BY {unsigned_integer | col_name | expr}
[ASC | DESC] [,col_name ...]]
[SEPARATOR str_val])