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 ; show status like 'Last_query_cost';

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear