Question: How many songs have a lead vocal?
Schema: create table vocals (songid varchar, PRIMARY KEY (songid)); create table songs (songid varchar, PRIMARY KEY (songid))
SQL: select count(distinct title) from vocals as t1 join songs as t2 on t1.songid = t2.songid where type = "lead"