Problem 1. Using the INVOICE table structure shown in table below do the following: INVOICE Attribute Name Sample Value Sample Value Sample Value Sample Value Sample Value INV_NUM 211347 211347 211347 211348 211349 PROD_NUM AA-E3422QW QD-300932X RU-995748G AA-E3422QW GH-778345P SALE_DATE 15-Jan-2016 15-Jan-2016 15-Jan-2016 15-Jan-2016 16-Jan-2016 PROD_LABEL Rotary sander 0.25-in. drill bit Band saw Rotary sander Power drill VEND_CODE 211 211 309 211 157 VEND_NAME NeverFail, Inc. NeverFail, Inc. BeGood, Inc. NeverFail, Inc. ToughGo, Inc. QUANT_SOLD 1 8 1 2 1 PROD_PRICE $49.95 $3.45 $39.99 $49.95 $87.75 Write the relational schema, draw its dependency diagram, and identify all dependencies, including all partial and transitive dependencies. You can assume that the table does not contain repeating groups and that an invoice number references more than one product. (Hint:This table uses a composite primary key.) Remove all partial dependencies, write the relational schema, and draw the new dependency diagrams. Identify the normal forms for each table structure you created. Remove all transitive dependencies, write the relational schema, and draw the new dependency diagrams. Also identify the normal forms for each table structure you created. Draw the Crow’s Foot ERD. Problem 2. Use the dependency diagram shown below to work the following problems. Initial Dependency Diagram for Problem Figure 1 Break up the dependency diagram shown in Figure 1 to create two new dependency diagrams: one in 3NF and one in 2NF. Modify the dependency diagrams you created in part a to produce a set of dependency diagrams that are in 3NF. (Hint:One of your dependency diagrams should be in 3NF but not in BCNF.) Modify the dependency diagrams you created in Part b to produce a collection of dependency diagrams that are in 3NF and BCNF.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
icon
Concept explainers
Question

Problem 1. Using the INVOICE table structure shown in table below do the following:

 

INVOICE

Attribute Name

Sample Value

Sample Value

Sample Value

Sample Value

Sample Value

INV_NUM

211347

211347

211347

211348

211349

PROD_NUM

AA-E3422QW

QD-300932X

RU-995748G

AA-E3422QW

GH-778345P

SALE_DATE

15-Jan-2016

15-Jan-2016

15-Jan-2016

15-Jan-2016

16-Jan-2016

PROD_LABEL

Rotary sander

0.25-in. drill bit

Band saw

Rotary sander

Power drill

VEND_CODE

211

211

309

211

157

VEND_NAME

NeverFail, Inc.

NeverFail, Inc.

BeGood, Inc.

NeverFail, Inc.

ToughGo, Inc.

QUANT_SOLD

1

8

1

2

1

PROD_PRICE

$49.95

$3.45

$39.99

$49.95

$87.75

  1. Write the relational schema, draw its dependency diagram, and identify all dependencies, including all partial and transitive dependencies. You can assume that the table does not contain repeating groups and that an invoice number references more than one product. (Hint:This table uses a composite primary key.)
  2. Remove all partial dependencies, write the relational schema, and draw the new dependency diagrams. Identify the normal forms for each table structure you created.
  3. Remove all transitive dependencies, write the relational schema, and draw the new dependency diagrams. Also identify the normal forms for each table structure you created.
  4. Draw the Crow’s Foot ERD.

                       

Problem 2. Use the dependency diagram shown below to work the following problems.

 

Initial Dependency Diagram for Problem

 

Figure 1

  1. Break up the dependency diagram shown in Figure 1 to create two new dependency diagrams: one in 3NF and one in 2NF.
  2. Modify the dependency diagrams you created in part a to produce a set of dependency diagrams that are in 3NF. (Hint:One of your dependency diagrams should be in 3NF but not in BCNF.)
  3. Modify the dependency diagrams you created in Part b to produce a collection of dependency diagrams that are in 3NF and BCNF.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education