You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
/*34. Write a query in SQL to display the job ID for those jobs which average salary is above 8000.*/
|
|
SELECT job_id, AVG(salary)
|
|
FROM employees
|
|
GROUP BY job_id
|
|
HAVING AVG(salary)>8000; |