Question: What is the average salary of employees who have a commission percentage that is not null?
SQL: SELECT department_id ,  AVG(salary) FROM employees WHERE commission_pct != "null" GROUP BY department_id