10. Create a Crow’s Foot ERD for each of the following descriptions. (Note: The word many merely means “more than one” in the database modeling environment.)
View more random threads:
- MGT101 Financial Accounting GDB No. 01 Solution Close on...
- SOC101 INTRODUCTION TO SOCIOLOGY assignment no 3 Solution...
- ENG101 English Comprehension Assignment No 3 Spring 2014...
- ENG001 Elementary English Assignment No. 2 Fall 2014 9th...
- CS101 - Introduction to Computing ASsignment instruction...
- STA301 - Statistics and Probability Assignment No.1...
- cs101 assignment no 6 detail about fuzzy logic
- MTH603 - Numerical Analysis Assignment No. 02 Fall Semester...
- EDU305 - Classroom Management Assignment # 1 Due Date 04...
- MGMT627 PROJECT MANAGEMENT Assignment No. 1 Solution Fall...
a. Each of the MegaCo Corporation’s divisions is composed of many departments. Each of those departments has many employees assigned to it, but each employee works for only one department. Each department is managed by one employee, and each of those managers can manage only one department at a time.
The Crow’s Foot ERD is shown in Figure T1.20A.
FIGURE T1.20A The MegaCo Crow’s Foot ERD
As you discuss the contents of Figure T1.20A, note the 1:1 relationship between the EMPLOYEE and the DEPARTMENT in the “manages” relationship and the 1:M relationship between the DEPARTMENT and the EMPLOYEE in the “is assigned to” relationship.
b. During some period of time, a customer can rent many videotapes from the BigVid store. Each of the BigVid’s videotapes can be rented to many customers during that period of time.
The solution is presented in Figure T1.20B. Note the M:N relationship between CUSTOMER and VIDEO. Such a relationship is not implementable in a relational model.
FIGURE T1.20B The BigVid Crow’s Foot ERD
If you want to let the students convert Figure T1.20’s ERD into an implementable ERD, add a third RENTAL entity to create a 1:M relationship between CUSTOMER and RENTAL and a 1:M relationship between VIDEO and RENTAL. (Note that such a conversion has been shown in the next problem solution.)
c. An airliner can be assigned to fly many flights, but each flight is flown by only one airliner.
FIGURE T1.20C The Airline Crow’s Foot ERD
d. The KwikTite Corporation operates many factories. Each factory is located in a region. Each region can be “home” to many of KwikTite’s factories. Each factory employs many employees, but each of those employees is employed by only one factory.
The solution is shown in Figure T1.20D.
FIGURE T1.20D The KwikTite Crow’s Foot ERD
e. An employee may have earned many degrees, and each degree may have been earned by many employees.
The solution is shown in Figure T1.20E.
FIGURE T1.20E The Earned Degree Crow’s Foot ERD
Note that this M:N relationship must be broken up into two 1:M relationships before it can be implemented in a relational database. Use the Airline ERD’s decomposition in Figure T1.20C as the focal point in your discussion.
[B]The more knowledge you have, the greater will be your fear of Allah.[/B]
Please Join My [B]Group Vuhelp[/B][B], Birthday Wishing, Daily Hadees[/B] [CODE][B]http://vuhelp.net/groups/vuhelp.html[/B]
There are currently 1 users browsing this thread. (0 members and 1 guests)