SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT actor_id, first_name, last_name, count(*) as film_count FROM film_actor LEFT JOIN actor ON film_actor.actor_id = actor.actor_id WHERE film_count > (SELECT COUNT(*) AS film_count FROM film WHERE film_id IN (SELECT film_id FROM film_actor WHERE actor_id IN (SELECT actor_id FROM actor WHERE first_name = 'HENRY' AND last_name = 'BERRY')))

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear