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 having avg(length) > 120 order by avg(length) desc

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear