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
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
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:
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