题目从难到易记录.解题过程中,如果不太熟悉,可以将题目中的表自己手动录入到自己的数据库中,就方便学习,测试. 185. Department Top Three Salaries 要求就是查询出每个部门工资在前三的人.题意值得注意的一点就是,要求找出的是工资数前三的人,而不是工资最高的前三位.区别就是前者查询出来的人可能大于3,而后者最大只能为3. 最终答案: select b.Name Department,a.Name Employee,a.Salary from (select Name,…