select dept_no, group_concat(emp_no) as employees from dept_emp group by dept_no
group_concat(多个列名or自定义字符串 [Separator '分隔符'(默认为, )])
聚合函数搭配group by使用
e.g.
IN:
group_concat(key,'=',value Separator ',') as Equal
group by name
OUT:
name Equal
sjd key 1=value 1,key 2=value 2.......key n=value n