题解 | 查找薪水记录超过15条的员工次数(count使用)
查找薪水记录超过15条的员工号emp_no以及其对应的记录次数t
https://www.nowcoder.com/practice/6d4a4cff1d58495182f536c548fee1ae
select emp_no,count(*) as t from salaries group by emp_no having count(*)>15
查找薪水记录超过15条的员工号emp_no以及其对应的记录次数t
https://www.nowcoder.com/practice/6d4a4cff1d58495182f536c548fee1ae
select emp_no,count(*) as t from salaries group by emp_no having count(*)>15
相关推荐