Question: 5. Write a SELECT statement that returns the line1, line2, city and zip_code columns from the Addresses table. Return one row for each address record
5. Write a SELECT statement that returns the line1, line2, city and zip_code columns from the Addresses table. Return one row for each address record that has the same zip_code with another address. Hint: check that the address_id columns arent equal but the zip_code columns are equal. Sort the result set by line1. Result should look like: Notice the addresses are different, but zip code is the same across both records
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
