Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 5

Customer table

Customer__ID Customer_typeID Customer_name Customer_address


10010 1 Taylor Swift 138 Oak St
10011 2 Kevin Shields 140 Maple St
10012 3 Claire Cotrill 76 Brad Lane
10013 3 John Mayer 453 White St
10014 2 Emma Stones 78 Main St
10015 1 Gracie Abrams 130 Charles St
10016 2 Alex G 97 May St

Product_details table

Product_ID Vendor_ID Product_name Unit_price Category


15 101 iPhone X 1200 Mobile
16 101 Macbook Air 1500 Laptops
17 102 Galaxy S9 900 Mobile
18 101 AirPods 600 Accessories
19 103 Tablet 750 Mobile
20 104 Headphones 300 Accessories
21 105 Smart Watch 250 Accessories
22 101 Legion 5 90 Laptops

Vendor table

Vendor_ID Vendor_name
101 TechTack
102 Marketn
103 Retail Bros
104 RaxTech
105 SmartTech

Order table

Order_ID Customer_ID
2010 10012 10 VIP
2011 10012 10 VIP
2012 10011 5 Staff
2013 10013 10 VIP
2014 10015 0 Regular
2015 10014 5 Staff
2016 10016 5 Staff
2017 10012 10 VIP
10011

Order_details

Order_ID Invoice_ID Order_quantity Order_date Order_type


2010 3010 1 1/5/2023 Individual
2011 3011 5 12/5/2023 Bulk
2012 3012 8 18/5/2023 Bulk
2013 3013 1 24/5/2023 Individual
2014 3014 2 28/5/2023 Individual
2015 3015 2 3/6/2023 Individual
2016 3016 8 13/6/2023 Bulk
2017 3017 1 19/6/2023 Individual
Customer_phone
555-0585
555-9824
555-1372
555-1237
555-1275
555-7863
555-0361

Ordered_Product table

Stock Vendor_name Product_ID Customer_ID


60 TechTack 16 10012
90 TechTack 15 10012
40 Marketn 22 10011
Accessories 25 TechTack 21 10013
45 Retail Bros 18 10015
Accessories 50 RaxTech 17 10014
Accessories 45 SmartTech 16 10016
60 TechTack 19 10012

Order invoice

Invoice_ID Net_amount Payment_type Payment_status Discount_


10012 3010 1350 Cash on delivery Paid 150
10012 3011 5400 e-wallet Paid 600
10011 3012 684 Credit card Unpaid 36
10013 3013 225 Cash on delivery Paid 25
10015 3014 1800 Credit card Unpaid 0
10014 3015 1092.5 Credit card Paid 57.5
10016 3016 11400 e-wallet Unpaid 600
10012 3017 675 e-wallet Paid 75

Order_type Total_amount Delivery_status


1500 Delivered Macbook Air
1200x5=6000 Shipped iPhone X
90x8=720 In progress Legion 5
250 In progress Smart Watch
600+1200=1800 Delivered AirPods, iPhone X
900+250=1150 Shipped Galaxy S9, Smart Watch
1500x8=12000 Shipped Macbook Air
750 Delivered Tablet
Ordered_Product table

Customer_ID Order_ID Purchase_quantity Purchased_quantityprice


2010 1 1500
2011 5 6000
2012 8 720
2013 1 250
2014 2 1800
2015 2 1150
2016 8 12000
2017 1 750

amount

You might also like