5 lines
202 B
SQL
5 lines
202 B
SQL
/*19. Write a query in SQL to display job title and average salary of employees.*/
|
|
SELECT job_title, AVG(salary)
|
|
FROM employees
|
|
NATURAL JOIN jobs
|
|
GROUP BY job_title; |