题解 | #查找薪水记录超过15条的员工号emp_no以及其对应的记录次数t#
查找薪水记录超过15条的员工号emp_no以及其对应的记录次数t
http://www.nowcoder.com/practice/6d4a4cff1d58495182f536c548fee1ae
SELECT emp_no, COUNT(*) t FROM salaries GROUP BY emp_no HAVING COUNT(*) > 15;
查找薪水记录超过15条的员工号emp_no以及其对应的记录次数t
http://www.nowcoder.com/practice/6d4a4cff1d58495182f536c548fee1ae
SELECT emp_no, COUNT(*) t FROM salaries GROUP BY emp_no HAVING COUNT(*) > 15;
相关推荐