Create data warehouse solution in SQL

Assignment Help PL-SQL Programming
Reference no: EM132831782

You can use Internet to check your syntax, but cannot ask anyone to do the exam for you. Partial credit might be given even if your answers are incorrect. Your submitted files should contain one SQL file for part 1, and aDTSX file part 2. If you use Flat File or Excel Data Source for Part 2, please include the file also. It is important that you specify your name in the assignment document/attachment:

The attachment name should follow the following convention for Part I:
FIRSTNAME_LASTNAMEPART1.SQL
The attachment name should follow the following convention for Part II:
FIRSTNAME_LASTNAME PART2.DTSX

PART I: Use the OLTP logical schema below to build data warehouse tablesin SQL:

Question 1: CEO of Entertainment Inc. wants to keep track ofperformance of engagement that the companyhasengaged.For each customer and agent, he wantsto know total number of contracts by month, and monthly contract success ratio (calculated by total number of contracts expiredeach monthdivided 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 contractisauthorized, 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 midtermdata codefor the OLTP logical schema in Part Iand develop ETL process to create data warehouse tablesin SSIS.
Your dimensional and fact tables should meet these requirements:
- DimDatehas DateKey values ranging from 20120901to 20130312(YYYYMMDDinteger data type). DimDateshould contain IsMartinLutherKingHolidayattribute in boolean data type, LastDayOfMonthattribute in booleandata type, and other required attributes(10points).If you use Flat File or Excel Data Source to import datekey data, include the datesource file in the submission also.

- DimEntertainershould 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 EntertainerID1 you should return "4110 Old Redmond Rd., Redmond, WA 98052" as full address, and 22as year of active.

- DimEntertainershould 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).

Attachment:- Logical schema.rar

Reference no: EM132831782

Questions Cloud

Develop strategic plan : Identify the agency, organization, or community for which you will develop a strategic plan.
How should the cash receipts be recorded by Hairy Happy : The payment is in cash. How should the cash receipts be recorded by Hairy Happy Harry Limited
What type of industry would use six sigma methods : What type of industry would use Six Sigma methods that you may work for or if the firm you work for doesn't use it,
Summarizing an international leader in business : Summarizing an international leader in business. It is important to show that you have put in time, thought, and energy into the assignment.
Create data warehouse solution in SQL : Create data warehouse solution in SQL for the dimensional model that you propose - Import the midtermdata codefor the OLTP logical schema in Part I
Prepare a trial balance as of the end of September : The company received $4,000 cash in partial payment on the receivable created in transaction k. Prepare a trial balance as of the end of September
What are the health risks associated with egg products : What are the health risks associated with egg products and alternative egg products and what would done as commercial cook to minimise the risks associated with
Promoted therapeutic nurse-patient relationship : How did you engage in patient care coordination when caring for your patients with helping techniques that promoted therapeutic nurse-patient relationship?
Provide a proposal for a qualitative research : A company has introduced a new customer management system but it seems some of its employees still prefer doing things the "old fashioned" way.

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Write pl-sql procedures and functions

Write PL/SQL procedures and functions to populate and query that database

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Write sql queries

Write a query to display the last name, department number, and salary of any employee whose department number and salary both match the department number and salary of any employee who earns a commission.

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  What is an sql injection attack

What is an SQL injection attack? Explain how it works, and what precautions must be taken to prevent SQL injection attacks.What are two advantages of encrypting data stored in the database?

  Determine resonant frequency in series rlc resonant circuit

Given the series RLC resonant circuit in the figure, operating at variable frequency, determine: The resonant frequency ω o ,  The circuit’s quality factor Q , The cut-off frequencies, f 1  & f 2  and the bandwidth BW

  Query that uses cube operator to return lineitemsum

Write summary query which uses CUBE operator to return LineItemSum (which is the sum of InvoiceLineItemAmount) group by Account(an alias for AccountDesciption).

  Query to show customers were missing for existing orders

As DBA, your manager called a meeting and asked why there are so many orders for customers that don't exist in the customer table. Write query which would shows which customers were missing for existing orders. Use a join or a subquery.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

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