Question: Find the name of tracks which are in Movies playlist but not in music playlist.
Schema: create table playlists (id varchar, name varchar, PRIMARY KEY (id)); create table playlist_tracks (track_id varchar, playlist_id varchar, PRIMARY KEY (track_id)); create table tracks (name varchar, id varchar, PRIMARY KEY (name))
SQL: select t1.name from tracks as t1 join playlist_tracks as t2 on t1.id = t2.track_id join playlists as t3 on t2.playlist_id = t3.id where t3.name = 'movies' except select t1.name from tracks as t1 join playlist_tracks as t2 on t1.id = t2.track_id join playlists as t3 on t2.playlist_id = t3.id where t3.name = 'music'