Question: Show names of musicals and the number of actors who have appeared in the musicals.
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, count(*) from actor as t1 join musical as t2 on t1.musical_id = t2.musical_id group by t1.musical_id