You are on page 1of 3

Homework 2

A library system contains libraries, books, authors and patrons, with identifying attributes library
Number, book number, author number, and patron number, respectively. Libraries are further described
by a library name and location, books by title and page count, authors by author name, and patrons by
patron name and patron weight. Libraries hold numerous books (some with multiple copies), each
authored by one or more authors. Patrons borrow books, but at any point in time, may not have anything
checked out. When they do have a book checked out, there is a due date associated with it.
ANSWER
LibNo LibName BookNo Title

LIBRARY 1 HOLDS N BOOK PageCount

M
N
Location
CHECK DueDate
WRITTEN_BY
-OUT

AuthorNo
N 1

AUTHOR PATRON PatronName

AuthorName PatronNo PatronWeight

You might also like