Question: Scenario: Library Database You will need to draw out a relational database for this scenario. Make sure you identify the correct one - to -
Scenario: Library Database You will need to draw out a relational database for this scenario. Make sure you identify the correct one toone, one to many; many to many...... Entities: Books: Represents the books available in the library. Authors: Represents the authors who write the books. Borrowers: Represents the members who borrow books from the library. Borrowed Books: Represents the borrowing activity of books by borrowers. Entity Definitions: Books Table : Whats the Primary Key BookID Title PublishedYear AuthorID Foreign Key linking to Authors Relationship: One book can have one author, but an author can write many books. Authors Table : Whats the Primary Key AuthorID Name DateOfBirth Relationship: Each author can write many books, but a book has only one author. Borrowers Table : Whats the Primary Key BorrowerID Name MembershipDate Relationship: One borrower can borrow many books over time, and each book can be borrowed by different borrowers at different times. BorrowedBooks Table Join Table for the ManytoMany relationship between Borrowers and Books Whats the Primary Key BorrowID BookID Foreign Key linking to Books BorrowerID Foreign Key linking to Borrowers BorrowDate ReturnDate Relationship: Each record in this table represents a specific borrower borrowing a specific book on a specific date.
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
