display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000.
select job_title, max_salary - min_salary from jobs where max_salary between 12000 and 18000