SQL - Advanced Joins
Given these tables:
ID | Name
1 | Alice
2 | Bob
4 | Dana
ID | City
2 | Boston
3 | Chicago
4 | Denver
What is the result of this query?
Table A:ID | Name
1 | Alice
2 | Bob
4 | Dana
Table B:ID | City
2 | Boston
3 | Chicago
4 | Denver
What is the result of this query?
SELECT A.ID, A.Name, B.City FROM A FULL OUTER JOIN B ON A.ID = B.ID ORDER BY A.ID;
