CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)
CREATE TABLE student (stuid VARCHAR, fname VARCHAR, lname VARCHAR)
CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)

How many clubs does the student named 'Eric Tai' belong to?
SELECT COUNT(DISTINCT t1.clubname) 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 = "Eric" AND t3.lname = "Tai"
SELECT COUNT(DISTINCT "t1"."clubname") FROM "club" AS "t1" JOIN "member_of_club" AS "t2" ON "t1"."clubid" = "t2"."clubid" JOIN "student" AS "t3" ON "Eric" = "t3"."fname" AND "Tai" = "t3"."lname" AND "t2"."stuid" = "t3"."stuid"