I have a database with several tables.
Film (filmID, title, filmCatagory)
FilmCast (filmID, filmStarID, filmStarName)
FilmStar (filmStarID, filmStarName, birthplace).
The Film entity states all information about the films, FilmCast links the two tables together as a way to show which film star stars in what particular film, FilmStar states information about all of the stars. I need to translate the following question into an SQL query:
List the unique numbers and names of all stars that have appeared in at least one comedy.
I understand that a join will be used, but am unsure how this query will work with the three tables.