
John F. answered 07/28/21
Software Developer/Businessman with Fondness for Teaching
Take a look at the SQL (Between) and (Not In) operators. I would have to see the actual table structure to offer a more specific example.
Clarissa M.
asked 07/26/21Question: Return the employee that have salary that is not in the range between the minimum salary and maximum salary of their job. For example, you need to return Adam's if their salary is 6000 and they work a job that has Min_salary 7000 and Max_salary. 10000.
John F. answered 07/28/21
Software Developer/Businessman with Fondness for Teaching
Take a look at the SQL (Between) and (Not In) operators. I would have to see the actual table structure to offer a more specific example.
Kathryn C. answered 07/27/21
Computer Science Graduate
Hi Clarissa!
I suggest looking up SQL syntax on the Microsoft documentation website for more examples and explanations.
SELECT name_of_employee_column FROM name_of_table WHERE salary < min_salary OR salary > max_salary;
Get a free answer to a quick problem.
Most questions answered within 4 hours.
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.