Find the job ID for those jobs which average salary is above 8000.
CREATE TABLE employees (job_id VARCHAR, salary INTEGER)
SELECT job_id FROM employees GROUP BY job_id HAVING AVG(salary) > 8000
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE employees (job_id VARCHAR, salary INTEGER) Question: Find the job ID for those jobs which average salary is above 8000. [/INST] SELECT job_id FROM employees GROUP BY job_id HAVING AVG(salary) > 8000 </s>