SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select a.actor_id, first_name, last_name, count(c.category_id) from film_actor fa join actor a2 on a2.actor_id = fa.actor_id join film_category fc on fc.film_id = fa.film_id join category c on c.category_id = fc.category_id group by actor_id

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear