I'm trying to draw an ER-diagram and SQL ddl for a simple library database.
I have the following entities:
Book (holds the ISBN as key, book title, author)
Copy (copyID of a copy of a book, dateAcquired, dateDestroyed)
Member (MemberID, name, address)
Loaned (i guess the date due and the date back and obviously foreign keys for memberID and copyID)
Also a Member can be Student or Staff. So i think this should be a "IS-A" relationship.
How can i represent this in a proper ER-Diagram and SQL-DDL