Question: Write an SQL SELECT query that returns vendorID pairs that have the same zip code; also return the vendorZipCode. Now, vendorID #17 obviously has the
Write an SQL SELECT query that returns vendorID pairs that have the same zip code; also return the vendorZipCode. Now, vendorID #17 obviously has the same vendorZipCode as vendorID #17; however, do not return a pair unless it contains two different vendorID values. (Hint: use a self join.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
