Question
A company makes shipping products: envelopes and boxes. The company's products each have a model number, a product name, a wholesale price, and a suggested
A company makes shipping products: envelopes and boxes. The company's products each have a model number, a product name, a wholesale price, and a suggested retail price. Boxes are described by three dimensions (width, height, and depth) and whether they are corrugated or not. Envelopes are described by two dimensions (width and height) and whether they are padded or not. The company produces its products at five locations. Each location produces at least one of the products, and each product is produced by at least one of the locations. The locations are described by the address (street number, street, city, state, and zip code), main office number, and an identifying number. The company's employees are identified by an employee number, a first and last name, home address, phone number, gender, and birth date. An employee works at exactly one location, but each location has many employees working there. One employee is the location director. For the above description, answer the following questions (you are not to draw an ER diagram, simply write the required responses
1. What would be ER entity types that could be drawn from this description?
2. What would be ER association relationship types that could be drawn from this description? Specify all entity types that belong to each relationship type.
3. What would be ER generalization/specialization relationship types that could be drawn from this description, if any? Specify all entity types that belong to each relationship type.
4. For each of the association relationship types, specify the cardinality and participation constraints.
5. For each of the generalization/specialization relationship types, specify whether the relation is mandatory or optional and whether the specializations are disjoint or overlapping.
Q5. Using the Dia tool, draw the ER diagram that represents the data model from problem 4. Include for each entity type the attributes and the primary key.
Q6. Identify the relational database tables that would implement the ER diagram from problem 4. Specify the table attributes and the primary key and foreign key choices that would implement the ER diagram.
Step by Step Solution
3.38 Rating (151 Votes )
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