1
I’m trying to solve a khanacademy exercise in the SQL course and I’m having a little trouble.
The exercise calls for the following:
To finish creating the "Pop" playlist, add another search that will select the title, title, of all the songs of the "Pop" genre artists. It should use IN in a nested sub-search based on its previous search.
I tried several ways and could not, I noticed that if I use;
SELECT title FROM songs WHERE genre...
The system already states that there is no Genre column in the Songs table (which is correct) so how could I search for a column in another table if the table I am doing the search does not have the same name?
below follows an image of the exercise to better understand me.
Note that the common field, the one that exists in the two tables is the name of the artist. (Artists.name and Songs.Artist)
– ramaral