-->Display details of all boats sailed by sailor ‘Ram’.
sql>select * from sailor,boats,sailer_boats where sailor.sid=sailor_boats.sid and boats.bid=sailor_boats.bid and sailor.sname='ram';
Display Sailor names working on blue boat.
sql>select * from sailor,boats,sailor_boats where sailor.sid=sailor_boats.sid and boats.bid=sailor_boats.bid and color='blue';
Count number of boats sailed by each sailor.
sql>select count(boats.bname),sname from sailor,boats,sailor_boats where sailor.sid=sailor_boats.sid and boats.bid=sailor_boats.bid group by
Find the name of sailor who sailed the boat on both Tuesday & Friday.
sql>select sailor.sname from sailor,boats,sailor_boats where day='tuesday' and day='friday' and sailor.sid=sailor_boats.sid and boats.bid=sailor_boats.bid;
Display details of the boats which is sailed maximum times on Sundays.
sql>select count(sailor_boats.day)from boats,sailor_boats where boats.bid=sailor_boats.bid and sailor_boats.day='sunday';
/