8. The dependency diagram in Figure Q6.8 indicates that a patient can receive many prescriptions for one or more medicines over time. Based on the dependency dia- gram, create a database whose tables are in at least 2NF, showing the dependency diagram for each table. E Q6.8 PRESCRIPTION DEPENDENCY DIAGRAM MedName PatientID Date RefillsAllowed PatientName Dosage ShelfLife 9. What is a partial dependency? With what normal form is it associated? 10. What three data anomalies are likely to be the result of data redundancy? How can such anomalies be eliminated? 11. Define and discuss the concept of transitive dependency. 12. What is a surrogate key, and when should you use one? 13. Why is a table whose primary key consists of a single attribute automatically in 2NF when it is in 1NF? 14. How would you describe a condition in which one attribute is dependent on another attribute when neither attribute is part of the primary key?
8. The dependency diagram in Figure Q6.8 indicates that a patient can receive many prescriptions for one or more medicines over time. Based on the dependency dia- gram, create a database whose tables are in at least 2NF, showing the dependency diagram for each table. E Q6.8 PRESCRIPTION DEPENDENCY DIAGRAM MedName PatientID Date RefillsAllowed PatientName Dosage ShelfLife 9. What is a partial dependency? With what normal form is it associated? 10. What three data anomalies are likely to be the result of data redundancy? How can such anomalies be eliminated? 11. Define and discuss the concept of transitive dependency. 12. What is a surrogate key, and when should you use one? 13. Why is a table whose primary key consists of a single attribute automatically in 2NF when it is in 1NF? 14. How would you describe a condition in which one attribute is dependent on another attribute when neither attribute is part of the primary key?
Database Systems: Design, Implementation, & Management
11th Edition
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:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter10: Transaction Management And Concurrency Control
Section: Chapter Questions
Problem 1P
Related questions
Question

Transcribed Image Text:8. The dependency diagram in Figure Q6.8 indicates that a patient can receive many
prescriptions for one or more medicines over time. Based on the dependency dia-
gram, create a database whose tables are in at least 2NF, showing the dependency
diagram for each table.
E Q6.8 PRESCRIPTION DEPENDENCY DIAGRAM
MedName PatientID
Date
RefillsAllowed PatientName Dosage
ShelfLife
9. What is a partial dependency? With what normal form is it associated?
10. What three data anomalies are likely to be the result of data redundancy? How can
such anomalies be eliminated?
11. Define and discuss the concept of transitive dependency.
12. What is a surrogate key, and when should you use one?
13. Why is a table whose primary key consists of a single attribute automatically in 2NF
when it is in 1NF?
14. How would you describe a condition in which one attribute is dependent on another
attribute when neither attribute is part of the primary key?
AI-Generated Solution
Unlock instant AI solutions
Tap the button
to generate a solution
Recommended textbooks for you

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

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr

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

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr

Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning

Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning

Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning