某一字段的值用逗号分隔

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

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