Question: n 5 : How do you retrieve the first and last names of employees who do not have any dependents? A ) SELECT FNAME, LNAME

n 5: How do you retrieve the first and last names of employees who do not have any
dependents?
A) SELECT FNAME, LNAME FROM EMPLOYEE WHERE SSN NOT IN (SELECT
ESSN FROM DEPENDENT);
B) SELECT FNAME, LNAME FROM EMPLOYEE WHERE SSN = ESSN;
C) SELECT FNAME, LNAME FROM EMPLOYEE LEFT JOIN DEPENDENT ON SSN =
ESSN WHERE ESSN IS NULL;
D) SELECT FNAME, LNAME FROM EMPLOYEE WHERE SSN NOT IN (SELECT SSN
FROM DEPENDENT);

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 Programming Questions!