Left outer join
eSymphony's marketing department has noticed that songs in playlists get purchased more often. Since there's a Led Zeppelin anniversary coming up, they want to know how many songs composed by Jimmy Page, the founder of the band, are not in a playlist yet.
You decide to use a left outer join to solve this problem. By doing this, you are sure all tracks, even the ones that aren't included in a playlist, are shown.
This exercise is part of the course
Introduction to Oracle SQL
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
SELECT t.TrackId, t.Composer, t.Name, p.PlaylistId
-- Perform a left outer join
FROM ___ ___ ___ ___ JOIN ___ p
-- Match on track id
ON ___.___ = ___.___