Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Refer to the following ERD CUSTOMER Customer ID Cust Name Cust Address Holds CAR

ID: 3600623 • Letter: R

Question

Refer to the following ERD CUSTOMER Customer ID Cust Name Cust Address Holds CARD ACCOUNT MERCHANT Account ID Exp Date Card Type Merch ID Merch Addr Card Type- DEBIT CARD CREDIT CARD CHARGES Bank No Cur Ba Charge Date Charge Time Let's make the following assumptions: There are 12,500,000 customers . These customers have altogether 40,000,000 card accounts, 80% are credit card while 20% are debit card accounts . There are 3,200,000 merchants .On average, there are 30 charges per merchant, per day. The range is very large. . Customers are making on average, 2,000,000 requests per day to view their accounts and balances. .Merchants are making on average, 5,000,000 requests per day to view the transactions they have submitted to the bank. Create a set of normalized relations based on this ERD

Explanation / Answer

Normalized Relations

CUSTOMER(CustomerID,CustName,CustAddress)

DEBITCARD(AccountID,ExpDate,BankNo,CustomerID)

CREDITCARD(AccountID,ExpDate,CurBal,CustomerID)

MERCHANT(MerchID,MerchAddr)

CHARGES(CreditCardAccountID,MerchID,ChargeDate,ChargeTime,Amount)

underlined are primary keys and italicised are foreign keys. Some attributes are both.