Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Step 1: For each of the columns in the tables below, indicate the data type that you will use for that column (aka field or

Step 1: For each of the columns in the tables below, indicate the data type that you will use for that column (aka field or attribute).

Step 2: Fill out the tables in the template with sample data. You need to make up sample data for each table. Indicate the sample data for each table beginning in row 2. Add sample data of four rows for the CUSTOMER table, six rows for CREDIT_CARD_ACCOUNT table, three rows for the MERCHANT table and ten rows for the SALE table.

Name of Table 1: CUSTOMER

CID (PK)CNameCCityCStateCZipCPhoneCAnnualIncome
(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)

Name of Table 2: CREDIT_CARD_ACCOUNT

CreditCardNumber (PK)CID (FK)CurrentBalanceExpirationDate
(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)

Name of Table 3: MERCHANT

MID (PK)MNameMAddressMStateMZipMCityMType
(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)

Note: MType can only take one of the two values: Online Merchant, Physical Store Merchant

Name of Table 4: SALE

SaleID (PK)MID(FK)CreditCardNumber (FK)SaleDateTotalSaleAmount

ItemTypeID (FK)

(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)(Indicate Data Type)Integer

Name of Table 5: ITEM_TYPE

ItemTypeID (PK)ItemType
IntegerText
1Electronics
2Clothes
3Perfumes
4Groceries
5Furniture

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Auditing and Assurance services an integrated approach

Authors: Alvin a. arens, Randal j. elder, Mark s. Beasley

14th Edition

133081605, 132575957, 9780133081602, 978-0132575959

More Books

Students also viewed these General Management questions