MLS 3 Data Dictionary and ER Diagram
MLS 3 Data Dictionary and ER Diagram
ER Diagram:
Proprietary content. © Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited. 1
Data Dictionary:
‘customer’ table:
Variable Description
Id Unique ID for each customer, linked with the ‘CustomerID’ column in the ‘orders’ table
‘orders’ table:
Variable Description
Id Unique ID for each order, linked with the ‘OrderId’ column in the ‘orderitems’ table
CustomerId The ID of the customer who placed the order, linked with the ‘Id’ column in the ‘customer’ table
‘orderitem’ table:
Variable Description
OrderId The ID of the order containing this item, linked to the ‘Id’ column in the ‘orders’ table
ProductId The ID of the product which is the item, linked to the ‘Id’ column in the ‘product’ table
Proprietary content. © Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited. 2
‘product’ table:
Variable Description
Id Unique ID for each available product, linked to the ‘ProductId’ column in the ‘orderitem’ table
SupplierId The ID of the supplier of the product, linked to the ‘Id’ column in the ‘supplier’ table
‘supplier’ table:
Variable Description
Id Unique ID for each supplier, linked with the ‘SupplierID’ column in the ‘product table
Proprietary content. © Great Learning. All Rights Reserved. Unauthorized use or distribution prohibited. 3