5 lines
202 B
MySQL
5 lines
202 B
MySQL
|
/*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;
|