思路:
简单left join + groupby + orderby
sql
# Write your MySQL query statement below select dept_name, count(student_id) student_number from Department t left join Student s on s.dept_id = t.dept_id group by t.dept_name order by student_number DESC, dept_name ASC