SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT a.first_name, a.last_name FROM actor a INNER JOIN film_actor fa USING(actor_id) WHERE fa.film_id IN (SELECT film_id FROM film_category fc WHERE EXISTS (SELECT category_id FROM category c WHERE c.category_id = fc.category_id AND c.name = 'COMEDY') ) GROUP BY a.first_name, a.last_name ORDER BY a.first_name, a.last_name

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear