sql group_concat
时间: 2023-08-29 18:11:32 浏览: 151
group_concat函数是用于在SELECT语句中对数据进行分组并进行连接操作的函数。它的语法为:group_concat([distinct 要连接的字段 [order by 排序字段 asc/desc [separator '分隔符']).<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [SQL函数,group_concat用法](https://blog.csdn.net/weixin_44129618/article/details/126201758)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [MySQL的concat()函数的用法](https://blog.csdn.net/wu_aceo/article/details/88549364)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文