select emp_no, count(salary) t
from salaries
group by emp_no
having count(salary) > 15

聚合后筛选 用 having