I'm trying to solve an exercise in khanacademy in the SQL course and I'm having some difficulty.
The exercise asks for the following:
To finish creating the playlist "Pop", add another search that will select the title, title, of all the songs of the artists of the genre "Pop". It should use IN in a nested subquery based on its previous search.
I tried it in several ways and I could not, I noticed that if I use;
SELECT title FROM songs WHERE genre...
The system already accuses 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 in which I am doing the search does not have the same name? >
Below is an image of the exercise so you can understand me better.