Skip to content

Beyond the feed, keep a quiet place.

Studio
月

Collected fragments

#数据库

Tags are another index: overlapping themes, like windows lit in different colours.

02 articles
在mysql中GROUP_CONCAT字段的作用 cover
Code Notes
·3 min read

在mysql中GROUP_CONCAT字段的作用

使用分号(;1 | Alice;BobDavid;Eve是 MySQL 提供的一个强大函数,允许用户将分组内的多个值连接成一个字符串。它可以按需求定制结果的排序和分隔符,适用于各种数据聚合和文本处理的场景。