You are on page 1of 2

Dwi Putri Wahyuningsih

2019390004

Assignment: Calculus Relation

Given relational schema (See Slide p 20, Module 5):

Sailors (sid, sname, rating, age)

Reservation (sid, bid, date)

Boats (bid, bname, color)

Write Relational Calculus for the following queries:

1)Find names of sailors who have reserved boat #103

2)Find names of sailors who have reserved a red boat

3)Find names of sailors who have reserved a red or a green boat


4)Find names of sailors who have reserved a red and a green boat

5)Find the names of sailors who have reserved all boats

You might also like