Question: List member names and their party names.
Schema: create table party (party_name varchar, party_id varchar, PRIMARY KEY (party_name)); create table member (member_name varchar, party_id varchar, PRIMARY KEY (member_name))
SQL: select t1.member_name, t2.party_name from member as t1 join party as t2 on t1.party_id = t2.party_id