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 string)YearOfPublication
BorrowerID
BorrowerName
BorrowDate
ReturnDate
Identified problems:
1.The Books table contains information about the books, the authors, and the borrowings, which leads to redundancies and update anomalies.
2.Authors are stored in a single string, which makes it difficult to search by a specific author.
3.A book can be borrowed multiple times, but the history of borrowings is not clearly managed.
Instructions:
First Normal Form (1NF): Identify and correct the violations of the 1NF in the Books table. Explain your approach to separate the data so that each field contains atomic and unique values.
Second Normal Form (2NF): After applying the 1NF, identify the partial dependencies and restructure the database to ensure each table respects the 2NF. Explain how you have eliminated the partial dependencies.
Third Normal Form (3NF): Verify that your design after the 2NF respects the 3NF by eliminating transitive dependencies. Describe the changes made to achieve the 3NF.
Boyce-Codd 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!