Encontre o ID do emprego para aqueles empregos cujo salário médio é superior a 8000.
CREATE TABLE employees (job_id VARCHAR, salary INTEGER)
SELECT job_id FROM employees GROUP BY job_id HAVING AVG(salary) > 8000