CHAPTER 4: THE ENHANCED ENTITY-RELATIONSHIP (EER) MODEL
Answers to Selected Exercises
4.16 – No solution provided.
4.17 – Consider the BANK ER schema of Figure 7.21, and suppose that it is necessary to
keep track of different types of ACCOUNTS (SAVINGS_ACCTS, CHECKING_ACCTS,
…) and LOANS (CAR_LOANS, HOME_LOANS, …). Suppose that it is also desirable to keep
track of each account’s TRANSACTIONs (deposits, withdrawals, checks, …) and each loan’s
PAYMENTs; both of these include the amount, date, time, … Modify the BANK schema,
using ER and EER concepts of specialization and generalization. State any assumptions you
make about the additional requirements.
Answer:
4.18 – No solution provided.
4.19 – Identify all the important concepts represented in the library database case study
described here. In particular, identify the abstraction of classification (entity types and
relationship types), aggregation, identification, and specialization/generalization. Specify
(min, max) cardinality constraints whenever possible. List details that will affect the eventual
design but which have no bearing on the conceptual design. List the semantic separately.
Draw an EER diagram of the library database.
Answer: