You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
318 B
MySQL
5 lines
318 B
MySQL
5 years ago
|
/*35. Write a query in SQL to 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 AS salary_differences
|
||
|
FROM jobs
|
||
|
WHERE max_salary BETWEEN 12000 AND 18000;
|