New! Hire Essay Assignment Writer Online and Get Flat 20% Discount!!Order Now

NIT6160- Data Warehousing and Mining

  • Subject Code :  

    NIT6160

  • Country :  

    AU

  • University :  

    Federation University

Task

Objective

In this assignment, we are building a data warehouse for an online brokerage company. The company makes money by charging commissions when customers buy and sell stocks. We are planning to have a Trades fact table with the grain of one row per stock trade. We will use the following dimensions: Date, Customer, Account, Security (i.e. which stock was traded), and TradeType. 

The company’s data analysts have told us that they have developed two customer scoring techniques that are used extensively in their analyses. 

•Each customer is placed into one of nine Customer Activity Segments based on their frequency of transactions, average transaction size, and regency of transactions. 

•Each customer is assigned a Customer Profitability Score based on the profit earned as a result of that customer’s trades. The score can be either 1, 2, 3, 4 or 5, with 5 being the most profitable. 

These two scores are frequently used as filters or grouping attributes in queries. For example: 

•How many trades were placed in July by customers in each customer activity segment? 

•What was the total commission earned in each quarter of 2003 on trades of IBM stock by customers with a profitability score of 4 or 5? There is a total of 100,000 customers, and scores are recalculated every three months. The activity level or profitability level of some customers’ changes over time, and users are very interested in understanding how and why this occurs. 

Task 1: Data Warehouse Design

Design a data warehouse for the above mention scenario. Implement your data warehouse with SQL Developer. 

Prepare a report of your data warehouse design and demonstrate your design to your tutor.

Task 2: OLAP Queries

Based on your design, write down the queries for the following problem:

•How many trades were placed in July by customer “John Alan”?

•What was the total commission earned in each quarter of 2003 on trades of IBM stock by customers with a profitability score of 4 or 5?

Get An Awesome Price Quote For Your Paper – Absolutely FREE!
    Add File
    Files Missing!

    Please upload all relevant files for quick & complete assistance.

    Getting started with MyEssayAssignmentHelp is FREE

    15,000+ happy customers and counting!

    Rated 4.7/5 based on
    1491 reviews
    ;