How many clubs does "Linda Smith" belong to?
create table student (stuid varchar, fname varchar, lname varchar, PRIMARY KEY (stuid)); create table member_of_club (clubid varchar, stuid varchar, PRIMARY KEY (clubid)); create table club (clubid varchar, PRIMARY KEY (clubid))
select count(*) from club as t1 join member_of_club as t2 on t1.clubid = t2.clubid join student as t3 on t2.stuid = t3.stuid where t3.fname = "linda" and t3.lname = "smith"