0% found this document useful (0 votes)
67 views1 page

Database Er Diagram Crows Foot

The document describes database tables for orders, customers, addresses, products and order details. The tables include primary and foreign keys to link customer, order, address and product data.

Uploaded by

api-737735966
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views1 page

Database Er Diagram Crows Foot

The document describes database tables for orders, customers, addresses, products and order details. The tables include primary and foreign keys to link customer, order, address and product data.

Uploaded by

api-737735966
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Orders

Customers PK Order_ID INT


PK Customer_ID INT FK Customer_ID Type
Customer_Name VARCHAR(100) Order_Date DATE
Customer_Email VARCHAR(255)

OrderDetails
CustomerAddresses AddressTypes
PK,FK Order_ID INT
FK Customer_ID INT PK Address_Type_ID INT
PK,FK Product_ID INT
FK Address_ID INT Billing_Address VARCHAR(100)
Quantity INT
FK Address_Type_ID INT Shipping_Address VARCHAR(100)

Products

PK Product_ID INT
Product_Name VARCHAR(100)
Product_Price DECIMAL(10,2)
Addresses
PK Address_ID INT
FK Address_Type_ID INT
Street VARCHAR(100)
City VARCHAR(100)
State VARCHAR(100)
Zip_Code VARCHAR(5)
Country VARCHAR(100)

You might also like