In addition, submit the star schema and the DDL to create the Star schema for the data warehouse. You want a single Fact table to track all orders with the following dimensions: Time Customer Product...

1 answer below »

In addition, submit the star schema and the DDL to create the Star schema for the data warehouse. You want a single Fact table to track all orders with the following dimensions:



  • Time

  • Customer

  • Product

  • Employee


Be sure to include all DDL including primary and foreign keys; feel free to create new or needed primary keys. Finally, a specific and detailed discussion about the ETL process is to be used to move data from the OLTP environment to the data warehouse.


Your submission should include the following:



  • A description on your approach

  • The features of your enhanced ERD

  • A discussion about handling the M:M relationship between customer and products

  • The approach used to ensure 3NF

  • Required SQL statements for the database

  • Star schema for the fact table and its 4 dimension tables

  • The DDL for the Star schema for the data warehouse

  • A description of the ETL

Answered Same DayFeb 06, 2021

Answer To: In addition, submit the star schema and the DDL to create the Star schema for the data warehouse....

Neha answered on Feb 06 2021
128 Votes
75443 - star schema/diagram.png
75443 - star schema/report.docx
Star Schema Diagram
Database Schema
Crea
te table Customer (
CustomerId int primary key,
Name varchar(50),
Address varchar(100),
PhoneNumber varchar(10),
EmailAddress varchar(50),
Title varchar(5)
);
Create table Employee (
EmpId int primary key,
Name varchar(50),
Address varchar(100),
PhoneNumber varchar(10),
EmailAddress varchar(50),
Salary int,
Profile varchar(20)
);
Create table Product(
ProdId int primary key,
ItemName varchar(30),
Price double,
Size int,
Weight float
);
Create table Time(
TimeId int primary key,
OrderDate date,
OrderTime time);
Create Table FactTable(
FactId int primary key,
CustomerId int,
ProductId int,
TimeId int,
EmployeeId int,
Quantity int,
TotalPrice int,
Foreign key (CustomerId) references Customer(CustomerId),
Foreign key (ProductId) references Product(ProdId),
Foreign key (TimeId) references Time(TimeId),
Foreign key (EmployeeId) references Employee(EmpId)
);
To design the star schema of any data warehouse it is important to...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here