You are on page 1of 7

Task 1: Create an initial data dictionary

BuyerTable Data Type Product Table Data Type


Buyer_ID INT Item_ID INT
First_Name VARCHAR Description VARCHAR
Last_Name VARCHAR Item_Name VARCHAR
Email VARCHAR Price DOUBLE
Street VARCHAR Seller_ID INT
City VARCHAR Category_ID INT
Zip INT
Country VARCHAR
Phone BIGINT
Gender VARCHAR
Password VARCHAR

Category Table Data Type


Category_ID INT
Description VARCHAR

_x000D_ OFFICIAL
#
itial data dictionary

Seller Table Data Type Payment Table Data Type


Seller_ID INT Payment_ID INT
First_Name VARCHAR ITEM_ID INT
Last_Name VARCHAR Buyer_ID INT
Email VARCHAR Seller_ID INT
Street VARCHAR Payment_Method VARCHAR
City VARCHAR Incident_Costs FLOAT
Zip INT Payment_Date DATETIME
Country VARCHAR
Phone BIGINT
Gender VARCHAR
Password VARCHAR
Payment_Method VARCHAR
Bank_Account_Number BIGINT
Bank_Name VARCHAR
BSB_Number INT

_x000D_ OFFICIAL
#
Task 1: Create an initial

Buyer Table
P/F Field Name Caption Data Type Field size
P Buyer_ID Unique ID Autonumber 10
First_Name First Name Text 30
Last_Name Last Name Text 30
Email Email Text 30
Street Street Text 30
City City Text 30
Zip Zip Text 10
Country Country Text 30
Phone Phone Text 10
Gender Gender Text 10
Password Password Text 10

Seller Table
P/F Field Name Caption Data Type Field size
P Seller_ID Unique ID Autonumber 10
First_Name First Name Text 30
Last_Name Last Name Text 30
Email Email Text 30
Street Street Text 30
City City Text 30
Zip Zip Text 10
Country Country Text 30
Phone Phone Text 20
Gender Gender Text 10
Password Password Text 10
Payment_Method Payment method Text 20
Bank_Account_Number Account number Text 16
Bank_Name Bank name Text 30
BSB_Number BSB number Text 6
Task 1: Create an initial data dictionary

Buyer Table
Notes P/F
P

F
F
>0000

00000 000 000


"Male","Female","Transgender","Non-binary/non-conforming","No Response"
(00000)000 000

Seller Table
Notes P/F
P
F
F
F
F

>0000

00000 000 000


"Male","Female","Transgender","Non-binary/non-conforming","No Response"
P/F
P
0000 0000 0000 0000

000 0000
Product Table
Field Name Caption Data Type Field size Notes
Item_ID Unique ID Autonumber 10
Description Description Text 30
Item_Name Item Name Text 30
Price Price Text 10
Seller_ID Unique ID Autonumber 10
Category_ID Unique ID Autonumber 10

Payment Table
Field Name Caption Data Type Field size Notes
Payment_ID Unique ID Autonumber 10
ITEM_ID Unique ID Autonumber 10
Buyer_ID Unique ID Autonumber 10
Seller_ID Unique ID Autonumber 10
Payment_Method Payment method Text 20
Incident_Costs Incident Cost Text 10
Payment_Date Payment date Date/Time 12 dd mmm yyyy

Category Table
Field Name Caption Data Type Field size Notes
Category_ID Unique ID Autonumber 10
Description Description Text 100
Task 2: Identify amendments and update the data dictionary

BuyerTable Data Type Product Table Data Type Seller Table


Buyer_ID INT(10) Item_ID INT(10) Seller_ID
First_Name VARCHAR(30) Description VARCHAR(30) First_Name
Last_Name VARCHAR(30) Item_Name VARCHAR(30) Last_Name
Email VARCHAR(30) Price DOUBLE(10) Email
Street VARCHAR(30) Seller_ID INT(10) Street
City VARCHAR(30) Category_ID INT(10) City
Zip INT(10) Zip
Country VARCHAR(30) Country
Phone BIGINT(10) Phone
Gender VARCHAR(10) Gender
Password VARCHAR(10) Password
Payment_Method
Category Table Data Type Bank_Account_Number
Category_ID INT(10) Bank_Name
Description VARCHAR(100) BSB_Number
e data dictionary

Data Type Payment Table Data Type


INT(10) Payment_ID INT(10)
VARCHAR(30) ITEM_ID INT(10)
VARCHAR(30) Buyer_ID INT(10)
VARCHAR(30) Seller_ID INT(10)
VARCHAR(30) Payment_Method VARCHAR(20)
VARCHAR(30) Incident_Costs DOUBLE(10)
INT(10) Payment_Date DATETIME
VARCHAR(30)
BIGINT(20)
VARCHAR(10)
VARCHAR(10)
VARCHAR(20)
BIGINT(16)
VARCHAR(30)
INT(6)

e6

You might also like