You are on page 1of 4

Online Shop

order_i discou shop_i shop_nam produc product_na quantit order_detail shipping_a shipping_me shipping_c

d date total tax nt d e t_id me y unit_price _total ddress thod ost

2024-

01-01 The Book 123 Main


1 65.00 5.00 2.00 101 1001 Book A 2 20.00 40.00 Standard 5.00
08:00: Nook St, Cityville

00

2024-

01-01 The Book 123 Main


1 65.00 5.00 2.00 101 1002 Book B 1 25.00 25.00 Standard 5.00
08:00: Nook St, Cityville

00

2024-

01-02 Tech 456 Oak St,


2 99.00 7.50 3.00 102 1003 Laptop 3 15.00 45.00 Express 10.00
10:30: Haven Tech City

00

2 2024- 99.00 7.50 3.00 102 Tech 1004 Mouse 2 12.00 24.00 456 Oak St, Express 10.00

01-02

10:30:
00 Haven Tech City

2024-

01-02 Tech Headphon 456 Oak St,


2 99.00 7.50 3.00 102 1005 1 30.00 30.00 Express 10.00
10:30: Haven es Tech City

00

2024- 789 Maple

01-03 190.0 12.0 Fashion Ave,


3 5.00 103 1001 Dress 4 20.00 80.00 Standard 15.00
14:45: 0 0 Emporium Fashion

00 City

2024- 789 Maple

01-03 190.0 12.0 Fashion Ave,


3 5.00 103 1006 Shoes 2 35.00 70.00 Standard 15.00
14:45: 0 0 Emporium Fashion

00 City
Field Name Description Data Type

order_id Unique identifier for each order INT

date Date and time when the order was placed DATETIME

total Sum total of all the order item totals DECIMAL

tax Tax amount applied to the order DECIMAL

discount Discount amount applied to the order DECIMAL

shop_id Unique identifier for each shop INT

shop_name Name of the shop VARCHAR

product_id Unique identifier for each product INT

product_name Name of the product VARCHAR

quantity Quantity of the product ordered INT

unit_price Price of a single unit of the product DECIMAL

order_detail_total Total amount for each order detail DECIMAL

shipping_address Address where the order will be shipped VARCHAR

shipping_method Method used for shipping the order VARCHAR


DECIMAL
shipping_cost Cost of shipping

You might also like