Question: Show names of musicals which have at least three actors.
Schema: create table actor (musical_id varchar, PRIMARY KEY (musical_id)); create table musical (name varchar, musical_id varchar, PRIMARY KEY (name))
SQL: select t2.name from actor as t1 join musical as t2 on t1.musical_id = t2.musical_id group by t1.musical_id having count(*) >= 3