Question: Find the name of the swimmer who has at least 2 records.
Schema: create table record (swimmer_id varchar, PRIMARY KEY (swimmer_id)); create table swimmer (name varchar, id varchar, PRIMARY KEY (name))
SQL: select t1.name from swimmer as t1 join record as t2 on t1.id = t2.swimmer_id group by t2.swimmer_id having count(*) >= 2