display job title and average salary of employees.
select job_title, avg(salary) from employees as t1 join jobs as t2 on t1.job_id = t2.job_id group by t2.job_title