Task: Text to Code
Input (English): What are the job titles, and range of salaries for jobs with maximum salary between 12000 and 18000?
Output (English): SELECT job_title ,  max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000