MySQL--字符轉換,cast,concat 字符轉換

一、以id分組,把name字段的值打印在一行,逗號分隔,以name排倒序mysql        mysql> select id,group_concat(name order by name desc) from aa group by id;sql        +------+---------------------------------------+        | id   |
相關文章
相關標籤/搜索