Database: boat_1
Question: What are the names and ids of all sailors who have a rating of at least 3 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