通过 dept_no 分组 然后 group_concat 输出 emp_no

select dept_no, group_concat(emp_no) employees
    from dept_emp
    group by dept_no;