0% found this document useful (0 votes)
2 views

Assignment

The document outlines a database schema for managing orders, customers, products, and categories. It includes various attributes such as Order_ID, Customer_ID, Product_ID, and details related to sales, quantities, and shipping. The schema is designed to facilitate tracking and analysis of sales data across different segments and regions.

Uploaded by

blazerstaxis.3h
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Assignment

The document outlines a database schema for managing orders, customers, products, and categories. It includes various attributes such as Order_ID, Customer_ID, Product_ID, and details related to sales, quantities, and shipping. The schema is designed to facilitate tracking and analysis of sales data across different segments and regions.

Uploaded by

blazerstaxis.3h
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Orders

1 Returned
Order_ID varchar
1 Order_ID varchar
Customers Order_Date datetime
1 Returned varchar
Customer_ID varchar Ship_Date datetime

Customer_Name varchar Ship_Mode int *


Ship_Mode
* Customer_ID varchar
ID int
Segment int *
1 Ship_Mode varchar
Postal_Code int *
Product_Category * Product_ID varchar
Cat_ID char 1
Segment
Sales flaot
Category varchar 1 Segment_ID int
Quantity int
Segment varchar
Product Discount float

Product_ID varhcar * Profit int


Postal_Codes
* Cat_ID char 1
1 Postal_Code int
*
Sub_Cat_ID int 1 *
City varchar
States
Product_Name varchar
1 State varchar

Cities Country varchar


Product_Sub_Category
City varchar 1
ID int *
State varchar *
Category varchar
Region varchar 1 People
* Region varchar

Person varchar
Orders
1 Returned
Order_ID varchar
1 Order_ID varchar
Customers Order_Date datetime
1 Returned varchar
Customer_ID varchar Ship_Date datetime

Customer_Name varchar Ship_Mode int *


Ship_Mode
* Customer_ID varchar
ID int
Segment int *
1 Ship_Mode varchar
Postal_Code int *
Product_Category * Product_ID varchar
Cat_ID char 1
Segment
Sales flaot
Category varchar 1 Segment_ID int
Quantity int
Segment varchar
Product Discount float

Product_ID varhcar * Profit int


Postal_Codes
* Cat_ID char 1
1 Postal_Code int
*
Sub_Cat_ID int 1 *
City varchar
States
Product_Name varchar
1 State varchar

Cities Country varchar


Product_Sub_Category
City varchar 1
ID int *
State varchar *
Category varchar
Region varchar 1 People
* Region varchar

Person varchar

You might also like