Question: What will the following query return? Please note that in this scenario, the salary column is not null. SELECT e . employee _ id ,

What will the following query return? Please note that in this scenario, the salary column is not null.
SELECT e.employee_id, e.firstname, e.lastname FROM employees e LEFT JOIN salaries s ON e.employee_id = s.employee_id
WHERE s.salary = NULL;
Group of answer choices
A syntax error would be returned.
Only employee_id,rstname, and lastname values in the employees table that have no matching entry in the SAL table.
All employee_id,rstname, and lastname values in the employees table.
No values would be returned.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!