SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select c.name category, avg(length) avg_length from category c, film_category fc, film f where c.category_id = fc.category_id and fc.film_id = f.film_id group by c.name order by avg(length) desc having avg(length) > 120

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear