Queries in the relational algebra


Consider the given relational schema:

Sailors(SailorId, SailorName, Rating, Age)
Reserves(SailorId, BoatId, Day)
Boats(BoatId, BoatName, Color)

Deduce the given queries in the Relational Algebra:

Q1. Find out the names of sailors who have reserved the similar color boats as the sailor named ‘John’.

Q2. Find out the colors of boats reserved through sailor ‘John’.

Q3. Find out the names of sailors who encompass reserved a red or a green boat.

Q4. Find out the names of sailors who encompass reserved at least two boats.

Q5. Find out the names of sailors who encompass reserved all boats.

Q6. Find out the names of boats which are reserved by more than one sailor.

Request for Solution File

Ask an Expert for Answer!!
Database Management System: Queries in the relational algebra
Reference No:- TGS011198

Expected delivery within 24 Hours