Essay
Case Study 3 - Rapid Roads
Client (clientNo, cName, cAddress, cTelNo, cFaxNo, officeNo)
Unit (unitRegNo, unitDescription, maxPayload, officeNo)
Trailer (trailerNo, trailerDescription, trailerLength, maxCarryingWt, officeNo)
ClientOrder (orderNo, clientNo, dateOrder, collectDate, collectAddress, deliveryDate, deliveryAddress, loadWeight, loadDescription)
TransportReq (orderNo, unitRegNo, trailerNo)
Staff (staffNo, sName, sAddress, sTelNo, sex, DOB, position, NIN, taxCode, salary, officeNo)
Office (officeNo, oAddress, oTelNo, oFaxNo, countryNo)
Country (countryNo, countryName)
For a more complete description, see Case Study 5 under Chapter 22.
-Consider the above relational schema. Map the following query onto a relational algebra tree, and then transform it into a reduced query:
SELECT trailerDescription, unitDescription
FROM Trailer T, Unit U, Office O, TransportReq TR
WHERE TR.trailerNo = T.trailerNo AND
TR.unitRegNo = U.unitRegNo AND
U.officeNo = O.officeNo AND
maxPayload > maxCarryingWt AND
O.officeNo = 2;
Give a full explanation of the reasoning behind each step and state any transformation rules used during the reduction process.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Case Study 3 - Rapid Roads<br>Client
Q2: Case Study 2 - Complete Pet Care<br><img
Q3: Case Study 3 - Rapid Roads<br>Client
Q4: Case Study 1 - InstantBuy<br>Client (clientNo, cName,
Q5: Case Study 2 - Complete Pet Care<br><img
Q7: Case Study 2 - Complete Pet Care<br><img
Q8: Case Study 1 - InstantBuy<br>Client (clientNo, cName,