display job title and average salary of employees.
create table jobs (job_title varchar, job_id varchar, PRIMARY KEY (job_title)); create table employees (job_id varchar, PRIMARY KEY (job_id))
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