- 1 –
University of Waterloo
School of Computer Science
Due: June 16, 2009
Design a relational schema that captures the data requirement of the following
This application is about a boat leasing company. In this application, a
boat is owned by an owner, and the boat may have equipments installed by the
owner. When a boat is leased out to a client, the leasing company may equip the
boat with some company-provided equipments. The client may want to hire
some crew during an itinerary. The leasing company wants to keep track of the
lease history as well its related information. In your relational schema, you
should specify, if any, the primary key and foreign key constraints.
attributes of an entity type are defined below. All
attributes are simple.
any constraint, if any, that cannot be captured with your design.
, Type, Description, Quantity)
, Type, Length, FeeChargedByOwner)
, Date, FeeCharged, Deposit)
, Name, Tel#, Expertise, JobTitle)
The underlined attributes are the primary keys of the corresponding entity types.