Task: Text to Code
Input (English): display job title and average salary of employees.
Output (English): 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