Question: What is the last name of the musician that have produced the most number of songs?
Schema: create table songs (songid varchar, PRIMARY KEY (songid)); create table band (lastname varchar, id varchar, PRIMARY KEY (lastname)); create table performance (bandmate varchar, songid varchar, PRIMARY KEY (bandmate))
SQL: select t2.lastname from performance as t1 join band as t2 on t1.bandmate = t2.id join songs as t3 on t3.songid = t1.songid group by lastname order by count(*) desc limit 1