Question: Show all artist names and the number of exhibitions for each artist.
Schema: create table artist (name varchar, artist_id varchar, PRIMARY KEY (name)); create table exhibition (artist_id varchar, PRIMARY KEY (artist_id))
SQL: select t2.name, count(*) from exhibition as t1 join artist as t2 on t1.artist_id = t2.artist_id group by t1.artist_id