Question: Context: You are working as a database designer for a company that wants to revise its library management system. The current database contains a Books
Context: You are working as a database designer for a company that wants to revise its library management system. The current database contains a Books table which records information about the books, the authors, and the borrowers. This table suffers from several design problems related to data redundancy and inefficient information management.
Existing data in the "Books" table:
BookID
Title
Authors several authors can be listed in the same stringYearOfPublication
BorrowerID
BorrowerName
BorrowDate
ReturnDate
Identified problems:
The Books table contains information about the books, the authors, and the borrowings, which leads to redundancies and update anomalies.
Authors are stored in a single string, which makes it difficult to search by a specific author.
A book can be borrowed multiple times, but the history of borrowings is not clearly managed.
Instructions:
First Normal Form NF: Identify and correct the violations of the NF in the Books table. Explain your approach to separate the data so that each field contains atomic and unique values.
Second Normal Form NF: After applying the NF identify the partial dependencies and restructure the database to ensure each table respects the NF Explain how you have eliminated the partial dependencies.
Third Normal Form NF: Verify that your design after the NF respects the NF by eliminating transitive dependencies. Describe the changes made to achieve the NF
BoyceCodd Normal Form BCNF: Ensure that your design respects the BCNF where each determinant is a candidate key. If necessary, adjust your schema to correct any BCNF violations.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
