时间:2021-07-01 10:21:17 帮助过:91人阅读
SELECT GROUP_CONCAT(xiangmu) FROM shoufei;
SELECT GROUP_CONCAT(DISTINCT shuliang) FROM shoufei;
SELECT GROUP_CONCAT(xiangmu SEPARATOR ‘-‘) FROM shoufei;
SELECT GROUP_CONCAT(xiangmu ORDER BY xiangmu ASC SEPARATOR ‘-‘) FROM shoufei;
本文转自:https://jingyan.baidu.com/album/29697b91478e91ab20de3c9d.html?picindex=1
mysql中把selct中的数据列表转换成逗号分隔的字符串
标签:rem code ODB sel 图片 test tps nod float