So I'm brand new to writing queries in MySQL, and for some reason I can't grasp the concept very well.
I have a two tables, one called Video_Recordings, and one called Video_Categories. Video_Recordings consists of movie titles with category (genre) names. Video_Categories consists of the names of the different genres.
So, I need to write a query that will display how many films are in each category.
I've entered the query:
select * from Video_Recordings vr, Video_Categories vc
where vr.category=vc.name
Which groups all of the movie titles by category seemingly, but how do I query it to count the number of recordings in each category?