Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We want to develop a database for a bookstore that satisfies the following requirements: This database keeps information of books and readers. Each book has
We want to develop a database for a bookstore that satisfies the following requirements:
This database keeps information of books and readers. Each book has a unique book ID and a title. Each book is assigned to one and only one category, such as Science, Business, History, etc.
There are many rooms in the bookstore. Each room is labeled with a room name. One room can store one or many categories of books. One category of books may also be stored in multiple rooms if the number of books in the same category is too large.
Each room has many bookshelves identified by bookshelf IDs. All books are stored on the bookshelves. Each bookshelf is labeled with a shelf name. This database should allow readers to easily find which bookshelf a book is located on
This database should also store reader information, including reader ID name, home address, email address, and phone number.
We should also keep track of the books borrowed by readers. One reader may checkout many books and return a book within two weeks. It is possible that one reader does not checkout any book.
Please answer the following questions:
Draw an ER diagram to represent this database.
Refine the ER diagram and derive a relational schema based on your refined ER diagram
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