主要考察group by多重分组, select ds.dept_no,ds.dept_name,dept.title,dept.count from departments as ds join ( select de.dept_no,t.title,count(t.title) as count from titles as t join dept_emp as de on t.emp_no=de.emp_no group by de.dept_no,t.title order by t.title ) as dept o...