SELECT sa_hospitaldepid,GROUP_CONCAT(doctorname) doctors from sa_doctor
WHERE  isleader=1 and siteid=$siteid$
GROUP BY sa_hospitaldepid