Consider the following E-R diagram for a bank:
where the date attribute of relationship set Has stores the date on which
the customer became the owner of the account.
- (5 points) List all candidate keys for entity sets customer and
account, and
designate a primary key for each. Use your knowledge about these entity
sets in determining candidate keys.
- (5 points) Using the technique discussed in class, find a superkey for
relationship set Has.
- (3 points) Find a primary key for relationship set Has.