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, the author’s name, and all publishers associated with that author. 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, 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), date last checked out, and date last 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.
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, the author’s name, and all publishers associated with that author.
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, 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), date last checked out, and date last 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