1.select sailors.sname, boats.bid from sailors, reserves, boats where
sailors.sid=reserves.sid and boats.bid=reserves.bid and boats.bid=103;
2. select sailors.sname, boats.color from sailors, reserves, boats where
sailors.sid=reserves.sid and boats.bid=reserves.bid and boats.color="red"; 3. select sailors.sname, boats.color from sailors, reserves, boats where sailors.sid=reserves.sid and boats.bid=reserves.bid and sailors.sname="lubber";
4. SELECT sailors.sname from sailors, reserves where sailors.sid = reserves.sid
GROUP BY sailors.sname HAVING COUNT(*) >1; 5. select sailors.sname, boats.color from sailors, reserves, boats where sailors.sid=reserves.sid and boats.bid=reserves.bid and boats.color="red" or "green";
6. select sailors.sname, sailors.age, boats.color from sailors, boats where sailors.age>=20