Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question One Library Management System Scenario: You are tasked with designing a database for a library management system. The system needs to track books, authors,
Question One
Library Management System
Scenario: You are tasked with designing a database for a library management system. The system needs to track books, authors, members, and book loans. The requirements are as follows:
Each book has a unique ISBN, title, publication year, and genre. A book can have multiple authors.
Each author has a unique author ID name, and nationality.
Each member has a unique member ID name, address, and membership date.
Each loan records the loan of a book to a member and includes the loan date and return date.
Authors can write multiple books, and a book can have multiple authors.
Members can borrow multiple books, but a book can only be borrowed by one member at a time.
Given the scenario above, design the relational schema for the library management system. Identify the tables, their attributes, primary keys, and foreign keys. Explain the constraints you would apply to ensure data integrity.
Question Two
Based on the library management system scenario, create an EntityRelationship ER diagram. Include entities, relationships, attributes, and keys. Explain the design choices for the relationships and any constraints applied.
Question Three
Extend the ER diagram created in Module to include subclass and superclass relationships. Specifically, include subclasses for different types of books eg Fiction and NonFiction and different types of members eg Student and Faculty Explain the rationale behind your design choices.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started