Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started