Question: Write a SELECT statement that returns the same result set as this SELECT statement, but dont use a join. Instead, use a subquery in a

Write a SELECT statement that returns the same result set as this SELECT statement, but dont use a join. Instead, use a subquery in a WHERE clause that uses the IN keyword.

SELECT DISTINCT vendor_name

FROM vendors JOIN invoices

ON vendors.vendor_id = invoices.vendor_id

ORDER BY vendor_name;

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!