Draw an ER diagram to represent the following situation: When appropriate, model an associative entity. B.D. Owen’s Library would like to store information about AUTHORs, BOOKs, book COPYs, and PATRONs. For each AUTHOR, the library stores a unique author ID and the author’s name. For each PATRON, the library will store a unique patron ID, the patron’s name, any phone numbers the patron has, the date the patron joined the library, and the years the patron has been a member, which can be calculated from the date joined. For each BOOK, the library would like to use the ISBN as
Draw an ER diagram to represent the following situation: When appropriate, model an
associative entity.
B.D. Owen’s Library would like to store information about AUTHORs, BOOKs, book COPYs,
and PATRONs.
For each AUTHOR, the library stores a unique author ID and the author’s name.
For each PATRON, the library will store a unique patron ID, the patron’s name, any phone
numbers the patron has, the date the patron joined the library, and the years the patron has
been a member, which can be calculated from the date joined.
For each BOOK, the library would like to use the ISBN as the identifier. In addition, it would like
to store the book’s title, name of the publisher, date of publication, and the number of copies
owned by the library.
Each book COPY will have a copy number, which uniquely identifies that copy in conjunction
with a particular BOOK. The library will also record the condition code of the copy (i.e. excellent,
good, fair, poor), last date checked out, and last date returned.
An AUTHOR writes at least one BOOK in the library. Every BOOK can have one or more
AUTHORs.
A BOOK has at least one COPY in the library. Every COPY belongs to exactly one BOOK.
A PATRON can checkout multiple COPYs of different BOOKs, but some PATRONs may not
check out any COPYs. A COPY of a BOOK may or may not be checked out by at most one
PATRON.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images