Is it possible with such a DB scheme to implement a query that displays the number of Thrillers for each studio, and if the studio does not have thrillers, do you need to output 0?
SELECT Studios.StudioName, Count(Genres.GenreName) AS [Count-GenreName] FROM ((Genres INNER JOIN FilmsGenres ON FilmsGenres.GenreID=Genres.GenreID) INNER JOIN Films ON FilmsGenres.FilmID=Films.FilmID) INNER JOIN Studios ON Films.StudioID=Studios.StudioID GROUP BY Studios.StudioName, Genres.GenreName HAVING (((Genres.GenreName)='Thriller')); With this code, managed to get the following result:
[StudioName] [Count-GenreName] [20 Century Fox] [1] [Syncopy] [2] And you need to get:
[StudioName] [Count-GenreName] [20 Century Fox] [1] [Syncopy] [2] [Universal Studios] [0] [Quad] [0] I tried to use LEFT OUTER JOIN or RIGHT OUTER JOIN, but it did not lead to the result.

FROM studios LEFT JOIN films LEFT JOIN filmsgenres LEFT JOIN genres- Akina