CREATE TABLE exhibition (artist_id VARCHAR)
CREATE TABLE artist (name VARCHAR, artist_id VARCHAR)

Show all artist names and the number of exhibitions for each artist.
SELECT T2.name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id
SELECT "T2"."name", COUNT(*) FROM "exhibition" AS "T1" JOIN "artist" AS "T2" ON "T1"."artist_id" = "T2"."artist_id" GROUP BY "T1"."artist_id"