Professional Documents
Culture Documents
1)
4)
Consider following schema and write relational algebra?
Sailors(SID,sname,Rating,Age)
Boat(BID,bname,color)
Reserve(SID, BID,day)
i) Retrieve the sailor name who reserved red and green boats
ii) Retrieve the sailor name with age over 20 years and reserved red boat?
iii) Retrieve the sailor name who reserved atleast one boat?
iv)Find the name of sailor who reserved all the boats?
5)
Passenger(Pid, PName, PGender, PCity)
Agency(Aid,AName, ACity)
Flight(Fid ,FDate,Time,Src,Dest)
Booking(Pid,Aid,Fid, FDate)