Question: Which SQL statement(s) will produce same result? a. SELECT DISTINCT customer_name FROM borrower MINUS SELECT customer_name FROM depositor; and SELECT DISTINCT customer_name FROM borrower WHERE

Which SQL statement(s) will produce same result?

a.
SELECT DISTINCT customer_name FROM borrower MINUS SELECT customer_name FROM depositor; and SELECT DISTINCT customer_name FROM borrower WHERE customer_name NOT IN (SELECT customer_name FROM depositor);

b.
SELECT DISTINCT customer_name FROM borrower WHERE customer_name IN (SELECT customer_name FROM depositor); and SELECT DISTINCT customer_name FROM borrower INTERSECT SELECT customer_name FROM depositor;

c.
SELECT DISTINCT customer_name FROM borrower WHERE customer_name IN (SELECT customer_name FROM depositor); and SELECT DISTINCT customer_name FROM borrower WHERE customer_name NOT IN (SELECT customer_name FROM depositor)

d.

SELECT DISTINCT customer_name FROM borrower MINUS SELECT customer_name FROM depositor; and SELECT DISTINCT customer_name FROM borrower INTERSECT SELECT customer_name FROM depositor;

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!