使用 group_concat 函数 即可显示 例: select group_concat(e.parameter_name) from xx a LEFT JOIN xx e on a.id = e.id 查询结果如下