What are the department ids for which more than 10 employees had a commission?
SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 10
SELECT department_id FROM employees GROUP BY department_id HAVING COUNT(commission_pct) > 10
[{'DEPARTMENT_ID': 50}, {'DEPARTMENT_ID': 80}]