Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Suppose you are given the following business rules to form the basis for a database design. The database must enable the manager of a company
Suppose you are given the following business rules to form the basis for a database design. The database must enable the manager of a company dinner club to mail invitations to the club's members, to plan the meals, to keep track of who attends the dinners, and so on.
- Each dinner serves many members, and each member may attend many dinners.
- A member receives many invitations, and each invitation is mailed to many members.
- A dinner is based on a single entree, but an entree may be used as the basis for many dinners. For example, a dinner may be composed of a fish entree, rice, and corn. Or the dinner may be composed of a fish entree, a baked potato, and string beans.
Because the manager is not a database expert, the first attempt at creating the database uses the structure shown in the table below:
Attribute Name | Sample Value | Sample Value | Sample Value |
MEMBER_NUM | 214 | 235 | 214 |
MEMBER_NAME | Alice B. VanderVoort | Gerald M. Gallega | Alice B. VanderVoort |
MEMBER_ADDRESS | 325 Meadow Park | 123 Rose Court | 325 Meadow Park |
MEMBER_CITY | Murkywater | Highlight | Murkywater |
MEMBER_ZIPCODE | 12345 | 12349 | 12345 |
INVITE_NUM | 8 | 9 | 10 |
INVITE_DATE | 23-Feb-2016 | 12-Mar-2016 | 23-Feb-2016 |
ACCEPT_DATE | 27-Feb-2016 | 15-Mar-2016 | 27-Feb-2016 |
DINNER_DATE | 15-Mar-2016 | 17-Mar-2016 | 15-Mar-2016 |
DINNER_ATTENDED | Yes | Yes | No |
DINNER_CODE | DI5 | DI5 | DI2 |
DINNER_DESCRIPTION | Glowing sea delight | Glowing sea delight | Ranch Superb |
ENTREE_CODE | EN3 | EN3 | EN5 |
ENTREE_DESCRIPTION | Stuffed crab | Stuffed crab | Marinated steak |
DESERT_CODE | DE8 | DE5 | DE2 |
DESERT_DESCRIPTION | Chocolate mousse with raspberry sauce | Cherries jubilee | Apple pie with honey crust |
Given the information in the table above:
- Given the table structure illustrated above, write its relational schema and draw its dependency diagram. Label all transitive and/or partial dependencies. (Note: For this example, you can use the table name and attribute names as given even though they don't strictly follow the relational schema naming conventions given in the notes. You can also create a shortened version of these attribute names if it is easier to work with).
- Break up the dependency diagram you drew in part (a) to produce dependency diagrams that are in 3NF and write the relational schema. (Hint: You might have to create a few new attributes. Also, make sure that the new dependency diagrams contain attributes that meet proper design criteria; that is, make sure that there are no multivalued attributes, and so on.)
- Draw the Crow's Foot ERD to reflect the dependency diagrams you drew in Part (b).
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