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 WHERE actor_id IN (SELECT actor_id FROM film_actor fa INNER JOIN film_category fc USING(film_id) 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