Database: theme_gallery
Question: How many exhibitions has each artist had?
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