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.
-Using the above relational schema, determine whether the following query is both type and semantically correct:
SELECT CO.clientNo, cAddress
FROM TransportReq TR, ClientOrder CO, Client C, Unit U, Trailer T
WHERE CO.clientNo = C.clientNo AND
TR.unitRegNo = U.unitRegNo AND
TR.trailerNo = T.trailerNo AND
maxCarryingWt < maxPayload AND
LoadWeight < maxPayload;
Correct Answer:

Verified
Correct Answer:
Verified
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
Q6: Case Study 3 - Rapid Roads<br>Client
Q7: Case Study 2 - Complete Pet Care<br><img
Q8: Case Study 1 - InstantBuy<br>Client (clientNo, cName,