ENTREE_CODE ENTREE_DESCRIPTION DESERT_CODE DESERT_DESCRIPTION EN3 Stuffed crab DE8 Chocolate mousse with raspberry sauce EN3 Stuffed crab DE5 Cherries jubilee EN5 Marinated steak DE2 Apple pie with honey crust Given the information in the table above: a) 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). b) 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.) c) Draw the Crow's Foot ERD to reflect the dependency diagrams you drew in Part (b).

A Guide to SQL
9th Edition
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Philip J. Pratt
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
icon
Related questions
icon
Concept explainers
Question
ENTREE_CODE
ENTREE_DESCRIPTION
DESERT_CODE
DESERT_DESCRIPTION
EN3
Stuffed crab
DE8
Chocolate mousse
with raspberry sauce
Given the information in the table above:
EN3
Stuffed crab
DE5
Cherries jubilee
EN5
Marinated steak
DE2
Apple pie with honey
crust
a) 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).
b) 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.)
c) Draw the Crow's Foot ERD to reflect the dependency diagrams you drew in Part (b).
Transcribed Image Text:ENTREE_CODE ENTREE_DESCRIPTION DESERT_CODE DESERT_DESCRIPTION EN3 Stuffed crab DE8 Chocolate mousse with raspberry sauce Given the information in the table above: EN3 Stuffed crab DE5 Cherries jubilee EN5 Marinated steak DE2 Apple pie with honey crust a) 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). b) 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.) c) Draw the Crow's Foot ERD to reflect the dependency diagrams you drew in Part (b).
Q3. 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
MEMBER_NUM
MEMBER_NAME
MEMBER_ADDRESS
MEMBER_CITY
MEMBER_ZIPCODE
INVITE_NUM
INVITE_DATE
ACCEPT_DATE
DINNER_DATE
DINNER_ATTENDED
DINNER_CODE
DINNER_DESCRIPTION
Sample Value
214
Alice B. VanderVoort
325 Meadow Park
Murkywater
12345
8
23-Feb-2016
27-Feb-2016
15-Mar-2016
Yes
DI5
Glowing sea delight
Sample Value
235
Gerald M. Gallega
123 Rose Court
Highlight
12349
9
12-Mar-2016
15-Mar-2016
17-Mar-2016
Yes
DI5
Glowing sea delight
Sample Value
214
Alice B. VanderVoort
325 Meadow Park
Murkywater
12345
10
23-Feb-2016
27-Feb-2016
15-Mar-2016
No
D12
Ranch Superb
Transcribed Image Text:Q3. 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 MEMBER_NUM MEMBER_NAME MEMBER_ADDRESS MEMBER_CITY MEMBER_ZIPCODE INVITE_NUM INVITE_DATE ACCEPT_DATE DINNER_DATE DINNER_ATTENDED DINNER_CODE DINNER_DESCRIPTION Sample Value 214 Alice B. VanderVoort 325 Meadow Park Murkywater 12345 8 23-Feb-2016 27-Feb-2016 15-Mar-2016 Yes DI5 Glowing sea delight Sample Value 235 Gerald M. Gallega 123 Rose Court Highlight 12349 9 12-Mar-2016 15-Mar-2016 17-Mar-2016 Yes DI5 Glowing sea delight Sample Value 214 Alice B. VanderVoort 325 Meadow Park Murkywater 12345 10 23-Feb-2016 27-Feb-2016 15-Mar-2016 No D12 Ranch Superb
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning