Question: List the name for storms and the number of affected regions for each storm.
Schema: create table affected_region (storm_id varchar, PRIMARY KEY (storm_id)); create table storm (name varchar, storm_id varchar, PRIMARY KEY (name))
SQL: select t1.name, count(*) from storm as t1 join affected_region as t2 on t1.storm_id = t2.storm_id group by t1.storm_id