CSE444 4/12/99
Homework 1 Solutions
Note that for 1 and 2, there are many possible solutions.
BANK to BRANCHES (1,N): each bank has at least one branch
BANK-BRANCH to BRANCHES (1,1): each branch is associated with exactly 1 bank
BANK-BRANCH to ACCTS (0,N): a branch can have 0 or more accounts
ACCOUNT to ACCTS (1,1): an account is associated with exactly 1 branch
BANK-BRANCH to LOANS (0,N): a branch can have 0 or more loans
LOAN to LOANS (1,1): a loan is associated with exactly 1 branch
ACCOUNT to A-C (1,N): an account is associated with 1 or more customers
CUSTOMER to A-C (0,N): a customer can have 0 or more accounts
LOAN to L-C (1,N): a loan is associated with 1 or more customers
CUSTOMER to L-C (0,N): a customer can have 0 or more loans
CUSTOMER to A-C (1,N)
LOAN to L-C (1,N)
CUSTOMER to L-C (0,2)
LOAN to LOANS (1,1)
BANK-BRANCH to LOANS (0, 1000)