题解 | #获取所有员工当前的manager#
统计出当前各个title类型对应的员工当前薪水对应的平均工资
http://www.nowcoder.com/practice/c8652e9e5a354b879e2a244200f1eaae
分组聚合 select title,avg(salary) from titles as t left join salaries as j on t.emp_no=j.emp_no group by title;
统计出当前各个title类型对应的员工当前薪水对应的平均工资
http://www.nowcoder.com/practice/c8652e9e5a354b879e2a244200f1eaae
分组聚合 select title,avg(salary) from titles as t left join salaries as j on t.emp_no=j.emp_no group by title;
相关推荐