VC 4
|
Attribute Name |
Data Type |
Description |
prodid |
Text |
Primary key – uniquely identifies each product |
prod |
Text |
Produce description / name |
cost |
Currency |
Cost of manufacturing product |
onhand |
Number |
Number of units on hand |
sellpr |
Currency |
Current price of product |
Customer Table
Attribute Name |
Data Type
|
Description |
custid |
Text |
Primary key – uniquely identifies each customer; obtain from Customer ID Database |
custlname |
Text |
Customer’s last name |
custfname |
Text |
Customer’s first name |
maddr |
Text |
Mailing address |
city |
Text |
City |
stateprov |
Text |
State or province (2-character abbreviation) |
zippc |
Text |
Zip or postal code (9-character version) |
country |
Text |
Country name (2-character abbreviation) |
wphone |
Text |
Work phone (area code + number) |
hphone |
Text |
Home phone (area code + number) |
em |
Text |
Customer’s email address |
bal |
Currency |
Amount owed by customer |
Attribute Name |
Data Type |
Description |
ordnumb |
Number |
Primary key – uniquely identifies each order |
custid |
Text |
Foreign key – custid is the primary key in customer table; links order table with the customer table. |
prodid |
Text |
Foreign key – prodid is the primary key in product table; links order table with the product table. |
saleamt |
Currency |
Price of snowboard purchased by customer; includes tax and shipping (only one board per transaction) |
ordate |
Date |
Date the order was placed |
ordtype |
Text |
Type of sale: Internet, Phone, Sales Rep |
pay |
Text |
Type of payment: Check, Credit or Debit card (Card), COD |
ctype |
Text |
Customer’s credit or debit card: Misery Card, |
cnumb |
Text |
Card number |
expdate |
Text |
Card expiration date |