Build data warehouse tables in sql

Assignment Help Database Management System
Reference no: EM132841482

PART I:

Use the OLTP logical schema below to build data warehouse tables in SQL:

Question 1: CEO of Entertainment Inc. wants to keep track of performance of engagement that the company has engaged. For each customer and agent, he wants to know total number of contracts by month, and monthly contract success ratio (calculated by total number of contracts expired each month divided by total amount of contract price each month). In addition, for each customer and agent he wants to know total numbers of contracts expired each week, and total number of contracts still active each week. Provide 4-step dimensional model in the SQL comment section (4 points) and create data warehouse solution in SQL for the dimensional model that you propose.

Question 2: CEO of Entertainment Inc. wants to keep track of the life cycle of engagement contract. Particularly, he wants to know the total number of agents involved for each engagement contract phrase when the contract is authorized, engaged, monitored and closeout. Provide 4-step dimensional model in the SQL comment section (4 points) and create data warehouse solution in SQL for the dimensional model that you propose.

PART II:

Import the midterm data code for the OLTP logical schema in Part I and develop ETL process to create data warehouse tables in SSIS.

Your dimensional and fact tables should meet these requirements:
- DimDate has DateKey values ranging from 20120901 to 20130312 (YYYYMMDD integer data type). DimDate should contain IsMartinLutherKingHoliday attribute in boolean data type, LastDayOfMonth attribute in boolean data type, and other required attributes. If you use Flat File or Excel Data Source to import datekey data, include the date source file in the submission also.
- DimEntertainer should contain entertainer's full address, entertainer's last 4 digit of SSN,
entertainer's current year of active until today, and other required attributes. For example, for Entertainer ID 1 you should return "4110 Old Redmond Rd., Redmond, WA 98052" as full address, and 22 as year of active.
- DimEntertainer should be able to handle slowly changing dimension issues.
- DimAgent should contain agent' full name and agent key. For example, "William Thompson" is a full name for AgentKey 1. This table doesn't need to handle slowly changing dimension issues.
- FactlessAgent should contain 3 keys (DateKey, AgentKey, and EngagementNumber).

- FactEngagement should contain 3 keys (DateKey, EntertainerKey, and CustomerID) and 4 fact measures. The following table shows the descriptions of each fact measure:

Attachment:- OLTP logical schema.rar

Reference no: EM132841482

Questions Cloud

Find what is the NPV of this project : Symon Meats is looking at a new sausage system with an installed cost of $245,000. Find what is the NPV of this project
What is the correct depreciation charge : Yet the car, now worth $28,000 is expected to be $20,000 at the end of the lease term. What is the correct depreciation charge?
What is the total receivable related to the loan to ABC : On Jan. 1, 2021, XYZ Bank extended a 3-year P5,000,000 loan to ABC Corporation. What is the total receivable related to the loan to ABC on Dec. 31, 2021
Relationship between social stratification and warfare : Social stratification and organized violence have a complicated relationship throughout history. Choose an important event/era in pre-modern history.
Build data warehouse tables in sql : Use the OLTP logical schema below to build data warehouse tables in SQL - create data warehouse solution in SQL for the dimensional model that you propose
How much would the interest amount be for the month : Your annual percentage rate (APR) is 24%. How much would the interest amount be for the month using the average daily balance method?
Write preliminary literature review : Write Preliminary Literature Review about Long term residency in New Zealand before and after COVID in term of Masters in professional Accounting(MPA)
What theory best explains this victimization : What theory best explains this victimization? You may choose from Deviant Lifestyle Theory, Routine Activities Theory, Target Congruence Theory.
Describe the relationship between risk and return : Describe the relationship between risk and return. Explain the effect that debt has on profit margin and return on assets (ROA)

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd