So I have three separate tables labeled directors, studios, and movie.
Directors columns: id, name, dob, nationality, gender.
Studios columns: id, name, founding date, and director_id
(Foreign Key is director_id)
Movies: ID, name, length, studio_id (foreign key is studios_id)
I have to find all the directors who directed movies with the name awakening but I have no idea how to use foreign keys properly. Best I've come up with was
SELECT name, studio_id FROM studios WHERE name = "awakening"
I have no idea what I'm doing. Please help.