The document describes the data structure of an order management system with four tables: Customer, Product, Order, and Order Line. The Customer table stores customer details like ID, name, address, and email. The Product table contains product data such as ID, name, description, and price. The Order table captures order information including ID, date, customer ID, and total cost. Finally, the Order Line table links orders to products with fields for order ID, product ID, quantity, toppings, and other details.
The document describes the data structure of an order management system with four tables: Customer, Product, Order, and Order Line. The Customer table stores customer details like ID, name, address, and email. The Product table contains product data such as ID, name, description, and price. The Order table captures order information including ID, date, customer ID, and total cost. Finally, the Order Line table links orders to products with fields for order ID, product ID, quantity, toppings, and other details.
The document describes the data structure of an order management system with four tables: Customer, Product, Order, and Order Line. The Customer table stores customer details like ID, name, address, and email. The Product table contains product data such as ID, name, description, and price. The Order table captures order information including ID, date, customer ID, and total cost. Finally, the Order Line table links orders to products with fields for order ID, product ID, quantity, toppings, and other details.
Customer Table – This table stores customer details
Y CustomerID INTEGER 10 Unique customer identifier
FullName INTEGER 10 Defines the name of the customer DeliveryAddress VARCHAR2 20 Stores the cutomer delivery address Email VARCHAR2 20 Stores the email of the customer
Product Table – Stores details about a product
Y ProductID INTEGER 10 Unique product identifier like serial
number ProductName VARCHAR2 10 Defines the name of the Product Description VARCHAR2 20 Provides more details of the Product UnitPrice INTEGER 7 Stores the price of the product
Order Table – Stores details about a Customer’s order
Y OrderID INTEGER 6 Used to uniquely identify a particular
order OrderDate DATE - Defines the date the order was made CustomerID VARCHAR2 20 Uniquely identifies the customer who made the order from the customer table TotalCost INTEGER 7 Stores the total cost the order would amount to. Order Line– Stores details about an Order Line
Y OrderID INTEGER 6 Used to reference the orders table to
uniquely identify an order Y ProductID INTEGER 10 Defines Product in the order Qty INTEGER 5 Defines the quantity of the orders Toppings INTEGER 7 Stores details about the toppings of the product OtherInfo VARCHAR 2 25 Stores any additional information about an order line