Question: Hom many albums does the artist "Metallica" have?
Schema: create table artist (artistid varchar, name varchar, PRIMARY KEY (artistid)); create table album (artistid varchar, PRIMARY KEY (artistid))
SQL: select count(*) from album as t1 join artist as t2 on t1.artistid = t2.artistid where t2.name = "metallica"