SQL Full Outer Join
Let's explore FULL OUTER JOIN: it does joining for a union of records of table1 and table2:
All uncompleted fields got the value NULL.
Uppgift
Swipe to start coding
For each singer, find the most expensive (price
) song and the newest (year
) album. Use FULL OUTER JOIN to see what's the result is. You should show singers.naming
, songs.price
with price
alias, and albums.year
with year
alias values.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 2. Kapitel 4