Question: Which artist has the most albums?
Schema: create table album (artistid varchar, PRIMARY KEY (artistid)); create table artist (name varchar, artistid varchar, PRIMARY KEY (name))
SQL: select t2.name from album as t1 join artist as t2 on t1.artistid = t2.artistid group by t2.name order by count(*) desc limit 1