Question: Show the id, name of each festival and the number of artworks it has nominated.
Schema: create table nomination (festival_id varchar, artwork_id varchar, PRIMARY KEY (festival_id)); create table festival_detail (festival_name varchar, festival_id varchar, PRIMARY KEY (festival_name)); create table artwork (artwork_id varchar, PRIMARY KEY (artwork_id))
SQL: select t1.festival_id, t3.festival_name, count(*) from nomination as t1 join artwork as t2 on t1.artwork_id = t2.artwork_id join festival_detail as t3 on t1.festival_id = t3.festival_id group by t1.festival_id