SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select distinct name as category, avg(rental_rate) as film_count from category c left join film_category fc on fc.category_id = c.category_id inner join film f on f.film_id = fc.film_id group by name, rental_rate order by category

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear