Question: Final Exam 2 : 3 7 : 4 6 remaining Which query will show all sales reps who do not have any customers? Select all
Final Exam
:: remaining
Which query will show all sales reps who do not have any customers? Select all that apply.
SELECT
FROM salesrep
WHERE srepno SELECT DISTINCT srepno FROM customer;
SELECT s
FROM salesrep s LEFT JOIN customer c
ON ssrepnocsrepno
WHERE ssrepno IS NULL;
SELECT
FROM salesrep
WHERE srepno NOT IN SELECT DISTINCT srepno FROM customer;
SELECT s
FROM salesrep s LEFT JOIN customer c
ON ssrepnocsrepno
WHERE csrepno IS NULL;
SELECT DISTINCT s
FROM salesrep s JOIN customer c
ON ssrepnocsrepno;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
