Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In class Exercises: Exercise 2 DRAW AN ER DIAGRAM FOR A LIBRARY DBMS ACCORDING TO THE FOLLOWING SPECIFICATION: a . The library DBMS must manage
In class Exercises: Exercise
DRAW AN ER DIAGRAM FOR A LIBRARY DBMS ACCORDING TO THE FOLLOWING SPECIFICATION:
a The library DBMS must manage information about "Books" and "Borrowers" and
"Borrower'sFriend".
b Book: is the main object in the library and the DBMS must keep track of:
i the book's ISBNUnique number of each book
ii Title,
iii. Category the book belongs to each book can belong to many categories, for
example. "Fundamentals of Database" book belongs to the categories: CS CIS, and
MIS
iv And a book can be a new version of another book.
c Borrower: are persons who have a subscription to borrow from the library and can
borrow a maximum books at a time. The DBMS must keep track of the:
i Borrower's ID
ii Name,
iii. Subscription type each borrower can have only one type of subscription which is
Gold, Silver or Bronze
iv Number of Books borrowed,
v And the expected return date of each borrowed book.
vi Each borrower can only have one friend. All borrowers can't subscribe unless they
borrow at least one book.
d Borrower'sFriend: is a person who is a friend of a subscribed borrower and can borrow a
maximum of one book at a time. The friend doesn't have an ID so the DBMS must keep track
of:
i The friend's name,
ii The book he borrowed,
iii. And the date he borrowed the book.
iv Each "Borrower'sFriend" can be a friend of only one borrower.
So draw your ER diagram ensuring all required information is present in your
ER model and write down any assumptions you make. Identify Entities,
attributes, Relationships, and constraints.
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