Chapter 7: Problem 31
Draw an ERD that allows for marriages between possibly more than two people.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.
Chapter 7: Problem 31
Draw an ERD that allows for marriages between possibly more than two people.
These are the key concepts you need to understand to accurately answer the question.
All the tools & learning materials you need for study success - in one app.
Get started for freeDraw an ERD for marriages between two people. For persons include birthdate, first name, last name, and a unique person id. Consider marriage to be a relationship between two people and suppose we want our model to allow for people to have more than one marriage. Use the date of the marriage as a discriminator.
Consider the one-to-one operates relationship in this chapter. Modify the example so that drivers have attributes: driver license, name (which comprises first name and last name), and vehicles have attributes: license plate number, VIN, year, colour, make and model. Note that VIN stands for vehicle identification number and this is unique for each vehicle. Assume that each driver must be assigned to a vehicle.
Consider a company that owns and operates parking lots. Develop an ERD with two entity types Parking Lot and Space and where: The address of a parking lot serves to identify the lot. Each space within a lot is rented at the same monthly rental charge. Each parking space is known by its number within the lot (within a lot these always start at 1). Each parking space is rented out to at most one vehicle. The vehicle’s identifier must be recorded. The identifier comprises a province code and license plate number.
Consider an ERD for modelling customers, phones, and phone calls. Each customer owns one phone and so the phone number identifies the customer. Include other attributes such as credit card number, first name, and last name for a customer. We must record information for each phone call that is made: for each call there is a start time, end time, and of course the phone number/customers involved.
Consider the employee entity type. 1\. Suppose the company needs to track the names of dependents for each employee. Show the dependent name as a multi-valued attribute. 2\. Modify your ERD to show empDependentName as a composite multi-valued attribute comprising first and last names and middle initials.
What do you think about this solution?
We value your feedback to improve our textbook solutions.