Database: boat_1
Question: what is the name and id of every sailor who has a rating greater than 2 and reserved a boat.
SQL:
SELECT DISTINCT T1.name ,  T1.sid FROM Sailors AS T1 JOIN Reserves AS T2 ON T1.sid  =  T2.sid WHERE  T1.rating  >  2