Question: What are the names of parties with at least 2 events?
Schema: create table party (party_name varchar, party_id varchar, PRIMARY KEY (party_name)); create table party_events (party_id varchar, PRIMARY KEY (party_id))
SQL: select t2.party_name from party_events as t1 join party as t2 on t1.party_id = t2.party_id group by t1.party_id having count(*) >= 2