My query is as follows: SELECT category_name, film_title, rental_count FROM (SELECT c.name AS category_name, f.title AS film_title, COUNT(r.rental_date) OVER (PARTITION BY f.tit