Task: Text to Code
Input (English): SQL: SELECT JOB_TITLE FROM jobs WHERE MIN_SALARY > 8000
Feedback: Replace job title with job id and replace min salary with average salary of employees table .
Output (English): SELECT job_id FROM employees GROUP BY job_id HAVING AVG(salary) > 8000