Question: Find the names of states that have some college students playing in goalie and mid positions.
Schema: create table tryout (cname varchar, ppos varchar, PRIMARY KEY (cname)); create table college (state varchar, cname varchar, PRIMARY KEY (state))
SQL: select t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.ppos = 'goalie' intersect select t1.state from college as t1 join tryout as t2 on t1.cname = t2.cname where t2.ppos = 'mid'