某一字段的值用逗号分隔

SELECT GROUP_CONCAT(name) FROM sys_dict WHERE type = 1;

posted @ 2020-08-05 11:23  周紫妍  Views(130)  Comments(0Edit  收藏  举报