SQLize Online / PHPize Online  /  SQLtest Online

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

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear