Question: Find the name and nationality of the swimmer who has won (i.e., has a result of "win") more than 1 time.
Schema: create table record (swimmer_id varchar, PRIMARY KEY (swimmer_id)); create table swimmer (name varchar, nationality varchar, id varchar, PRIMARY KEY (name))
SQL: select t1.name, t1.nationality from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id where result = 'win' group by t2.swimmer_id having count(*) > 1