Database: theme_gallery
Question: Show all artist names and the number of exhibitions for each artist.
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