-- 无条件限制 -- 各个部门,汇总title类别数目: group by dept_name,title -- 汇总分配title数目:count(title) -- 升序: order by dept_no,title -- 连接3表查询 select d1.dept_no,d1.dept_name,t.title,count(title) from departments d1 join dept_emp d2 on d1.dept_no = d2.dept_no join titles t on d2.emp_no = t.emp_no group by d1.dept_no,t.t...