Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The following figure shows an example of an EER diagram for a small private airport database that is used to keep track of airplanes, their
The following figure shows an example of an EER diagram for a small private airport database that is used to keep track of airplanes, their owners, airport employees, and pilots. From the requirements for this database, the following information was collected: Each airplane has a registration number Reg# is of a particular plane type oftype and is stored in a particular hangar storedin Each planetype has a model number Model a capacity Capacity and a weight Weight Each hangar has a number Number a capacity Capacity and a location Location The database also keeps track of the owners of each plane owns and the employees who have maintained the plane maintain Each relationship instance in owns relates an airplane to an owner and includes the purchase date Pdate Each relationship instance in maintain relates to an employee to a service record service Each plane undergoes service many times; hence, it is related by planeservice o a number of service records. A service record includes as attributes the date of maintenance Date the number of hours spent on the work Hours and the type of work done Workcode We use a weak entity type service to represent airplane service, because the airplane registration number is used to identify a service record. An owner is either a person or a corporation. Hence, we use a union type categoryowner that is a subset of the union of corporation Corporation and person Person entity types. Both pilots Pilot and employees Employee are subclasses of person. Each pilot has specific attributes license number LicNum and restrictions Restr; each employee has specific attributes salary Salary and shift Shift All person entities in the database have data kept on their social security number Ssn name Name address Address and telephone number Phone For corporation entities, the data kept includes name Name address Address and telephone number Phone The database also keeps track of the types of planes each pilot is authorized to fly Flies and the types of planes each employee can do maintenance work on Workson
: Map the EER diagram into relational schema.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started