SlideShare a Scribd company logo
1 of 25
Chapter 13: Business Intelligence and Data Warehouses
Problems
Book Title: Database Systems: Design, Implementation, and
Management
Printed By: nalini chowala ([email protected])
© 2017 Cengage Learning, Cengage Learning
Chapter Review
Problems
1. The university computer lab's director keeps track of lab
usage, as measured
by the number of students using the lab. This function is
important for
budgeting purposes. The computer lab director assigns you the
task of
developing a data warehouse to keep track of the lab usage
statistics. The
main requirements for this database are to:
• Show the total number of users by different time periods.
• Show usage numbers by time period, by major, and by student
classification.
• Compare usage for different majors and different semesters.
Use the Ch13_P1.mdb database, which includes the following
tables:
• USELOG contains the student lab access data.
• STUDENT is a dimension table that contains student data.
Given the three preceding requirements, and using the
Ch13_P1.mdb data,
complete the following problems:
a. Define the main facts to be analyzed. (Hint: These facts
become the
source for the design of the fact table.)
b. Define and describe the appropriate dimensions. (Hint: These
dimensions become the source for the design of the dimension
tables.)
c. Draw the lab usage star schema, using the fact and dimension
structures you defined in Problems 1a and 1b.
d. Define the attributes for each of the dimensions in Problem
1b.
Page 1 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
e. Recommend the appropriate attribute hierarchies.
f. Implement your data warehouse design, using the star schema
you
created in Problem 1c and the attributes you defined in Problem
1d.
g. Create the reports that will meet the requirements listed in
this
problem's introduction.
2. Victoria Ephanor manages a small product distribution
company. Because the
business is growing fast, she recognizes that it is time to
manage the vast
information pool to help guide the accelerating growth.
Ephanor, who is
familiar with spreadsheet software, currently employs a sales
force of four
people. She asks you to develop a data warehouse application
prototype that
will enable her to study sales figures by year, region,
salesperson, and
product. (This prototype will be used as the basis for a future
data warehouse
database.)
Using the data supplied in the Ch13_P2.xls file, complete the
following seven
problems:
a. Identify the appropriate fact table components.
b. Identify the appropriate dimension tables.
c. Draw a star schema diagram for this data warehouse.
d. Identify the attributes for the dimension tables that will be
required to
solve this problem.
e. Using Microsoft Excel or any other spreadsheet program that
can
produce pivot tables, generate a pivot table to show the sales by
product and by region. The end user must be able to specify the
display
of sales for any given year. The sample output is shown in the
first pivot
table in Figure P13.2E.
Figure P13.2E
Using a Pivot Table
Page 2 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
f. Using Problem 2e as your base, add a second pivot table (see
Figure
P13.2E) to show the sales by salesperson and by region. The
end user
must be able to specify sales for a given year or for all years,
and for a
given product or for all products.
g. Create a 3D bar graph to show sales by salesperson, by
product, and
by region. (See the sample output in Figure P13.2G.)
Figure P13.2G
3D Bar Graph Showing the Relationships Among Agent,
Product, and Region
Page 3 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
3. David Suker, the inventory manager for a marketing research
company, wants
to study the use of supplies within the different company
departments. Suker
has heard that his friend, Victoria Ephanor, has developed a
spreadsheet-
based data warehouse model that she uses to analyze sales data
(see
Problem 2). Suker is interested in developing a data warehouse
model like
Ephanor's so he can analyze orders by department and by
product. He will
use Microsoft Access as the data warehouse DBMS and
Microsoft Excel as
the analysis tool.
a. Develop the order star schema.
b. Identify the appropriate dimension attributes.
c. Identify the attribute hierarchies required to support the
model.
d. Develop a crosstab report in Microsoft Access, using a 3D
bar graph to
show orders by product and by department. (The sample output
is
shown in Figure P13.3.)
Figure P13.3
Crosstab Report: Orders by Product and Department
Page 4 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
4. ROBCOR, whose sample data is contained in the database
named
Ch13_P4.mdb, provides “on-demand” aviation charters using a
mix of
different aircraft and aircraft types. Because ROBCOR has
grown rapidly, its
owner has hired you as its first database manager. The
company's database,
developed by an outside consulting team, is already in place to
help manage
all company operations. Your first critical assignment is to
develop a decision
support system to analyze the charter data. (Review the
company's
operations in Problems 24–31 of Chapter 3, The Relational
Database Model.)
The charter operations manager wants to be able to analyze
charter data
such as cost, hours flown, fuel used, and revenue. She also
wants to be able
to drill down by pilot, type of airplane, and time periods.
Given those requirements, complete the following:
a. Create a star schema for the charter data.
b. Define the dimensions and attributes for the charter
operation's star
schema.
c. Define the necessary attribute hierarchies.
d. Implement the data warehouse design using the design
components
you developed in Problems 4a–4c.
e. Generate the reports to illustrate that your data warehouse
meets the
specified information requirements.
Using the data provided in the Ch13-SaleCo-DW database,
solve the following
problems. (Hint: In Problems 5–11, use the ROLLUP
command.)
5. What is the SQL command to list the total sales by customer
and by product,
with subtotals by customer and a grand total for all product
sales? Figure
P13.5 shows the abbreviated results of the query.
Figure P13.5
Page 5 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
Problem 5 Abbreviated Result
6. What is the SQL command to list the total sales by customer,
month, and
product, with subtotals by customer and by month and a grand
total for all
product sales? Figure P13.6 shows the abbreviated results of the
query.
Figure P13.6
Problem 6 Abbreviated Result
Page 6 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
7. What is the SQL command to list the total sales by region
and customer, with
subtotals by region and a grand total for all sales? Figure P13.7
shows the
result of the query.
Figure P13.7
Problem 7 Result
8. What is the SQL command to list the total sales by month and
product
category, with subtotals by month and a grand total for all
sales? Figure P13.8
shows the result of the query.
Figure P13.8
Problem 8 Result
Page 7 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
9. What is the SQL command to list the number of product sales
(number of
rows) and total sales by month, with subtotals by month and a
grand total for
all sales? Figure P13.9 shows the result of the query.
Figure P13.9
Problem 9 Result
10. What is the SQL command to list the number of product
sales (number of
rows) and total sales by month and product category, with
subtotals by month
and product category and a grand total for all sales? Figure
P13.10 shows the
result of the query.
Figure P13.10
Problem 10 Result
Page 8 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
11. What is the SQL command to list the number of product
sales (number of
rows) and total sales by month, product category, and product,
with subtotals
by month and product category and a grand total for all sales?
Figure P13.11
shows the result of the query.
Figure P13.11
Problem 11 Result
Page 9 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
12. Using the answer to Problem 10 as your base, what
command would you
need to generate the same output but with subtotals in all
columns? (Hint: Use
the CUBE command.) Figure P13.12 shows the result of the
query.
Figure P13.12
Problem 12 Result
13. Create your own data analysis and visualization
presentation. The purpose of
this project is for you to search for a publicly available data set
using the
Internet and create your own presentation using what you have
learned in this
chapter.
a. Search for a data set that may interest you and download it.
Some
examples of public data sets sources are:
• http://www.data.gov
• http://data.worldbank.org
• http://aws.amazon.com/datasets
• http://usgovxml.com/
• https://data.medicare.gov/
Page 10 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
• http://www.faa.gov/data_research/
b. Use any tool available to you to analyze the data. You can
use tools
such as MS Excel Pivot Tables, Pivot Charts, or other free
tools, such
as Google Fusion tables, Tableau free trial, IBM Many Eyes,
etc.
c. Create a short presentation to explain some of your findings
(what the
data sources are, where the data comes from, what the data
represents,
etc.)
Note
The visualization in Figure P13.13 was created using a data set
downloaded from one of the public sources listed above. A trial
version of Tableau was used to create the visualizations. This
simple
example illustrates the type of quick analysis you can do for
this
project.
Figure P13.13
Visualization Example Using Tableau
Source: Tableau
Page 11 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
Chapter 13: Business Intelligence and Data Warehouses
Problems
Book Title: Database Systems: Design, Implementation, and
Management
Printed By: nalini chowala ([email protected])
© 2017 Cengage Learning, Cengage Learning
© 2018 Cengage Learning Inc. All rights reserved. No part of
this work may by reproduced or used in any form or by any
means - graphic, electronic, or mechanical, or in any other
manner - without the written permission of the copyright
holder.
Page 12 of 12Print Preview
8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread
er/print_preview/print_preview.html?
/* DW-OLAP-SQL.TXT */
/* DATA WAREHOUSE OLAP SQL */
/* Script file for ORACLE DBMS */
/* CREATE TABLES */
@PAHTDW-DBINIT.SQL
/* ROLLUP EXAMPLE */
SELECT V_CODE, P_CODE,
SUM(SALE_UNITS*SALE_PRICE) AS TOTSALES
FROM DWDAYSALESFACT NATURAL JOIN
DWPRODUCT NATURAL JOIN DWVENDOR
GROUP BY ROLLUP (V_CODE, P_CODE)
ORDER BY V_CODE, P_CODE;
/* CUBE EXAMPLE */
SELECT TM_MONTH, P_CODE,
SUM(SALE_UNITS*SALE_PRICE) AS TOTSALES
FROM DWDAYSALESFACT NATURAL JOIN
DWPRODUCT NATURAL JOIN DWTIME
GROUP BY CUBE (TM_MONTH, P_CODE)
ORDER BY TM_MONTH, P_CODE;
/* MATERIALIZED VIEW EXAMPLE */
/* MUST CREATE MATERIALIZED VIEW LOGS ON BASE
TABLES FIRST */
/* CREATES MATERIALIZED VIEW LOG FILE
*/
/* ON BASE TABLES - REQUIRED IF DOING FAST
REFRESH */
/* FAST REFRESH OF MV WITH AGGREGATES REQUIRES:
*/
/* ROWID, SEQUENCE INCLUDING NEW VALUES */
CREATE MATERIALIZED VIEW LOG ON DWTIME
WITH ROWID, SEQUENCE INCLUDING NEW VALUES;
CREATE MATERIALIZED VIEW LOG ON
DWDAYSALESFACT
WITH ROWID, SEQUENCE INCLUDING NEW VALUES;
/* CREATE AMATERIALIZED VIEW TO REFRESH ON
COMMIT */
/* REFRESH ON COMMIT */
CREATE MATERIALIZED VIEW SALES_MONTH_MV
BUILD IMMEDIATE
REFRESH FORCE ON COMMIT
ENABLE QUERY REWRITE
AS SELECT TM_YEAR, TM_MONTH, P_CODE,
SUM(SALE_UNITS), SUM(SALE_PRICE*SALE_UNITS) AS
SUM_SALES
FROM DWTIME T, DWDAYSALESFACT S
WHERE S.TM_ID = T.TM_ID
GROUP BY TM_YEAR, TM_MONTH, P_CODE;
SELECT * FROM SALES_MONTH_MV ORDER BY
TM_YEAR, TM_MONTH, SUM_SALES;
COMMIT;
INSERT INTO DWDAYSALESFACT VALUES
(207,10017,'WR3/TT3',1,106.99);
COMMIT;
SELECT * FROM SALES_MONTH_MV ORDER BY
TM_YEAR, TM_MONTH, SUM_SALES;
/* DROP ALL OBJECTS CREATED */
DROP MATERIALIZED VIEW SALES_MONTH_MV;
DROP MATERIALIZED VIEW LOG ON DWTIME;
DROP MATERIALIZED VIEW LOG ON
DWDAYSALESFACT;
DELETE FROM DWDAYSALESFACT
WHERE TM_ID=207
AND CUS_CODE=10017
AND P_CODE='SM-18277';
COMMIT;
Project 2 Milestone 3: DW Reporting and Visualization
Due Dec 5 by 11:00AM Points 25 Submitting a file upload
Submit Assignment
ACIS 5504 – Project 2
Data Warehouse
Milestone 3: DW Reporting and Visualization
25 Points
Due: See Canvas Assignments Page
Overview
This milestone uses the implemented database that is the output
of Milestone 2 to produce reports and
visualizations implemented with SQL Rollup queries. This is
the final step in Project 2 and provides a hands-
on application of the concepts related to using a data warehouse
for addressing users' questions. It involves
writing the SQL queries needed to retrieve the data and thinking
from a user/management perspective to
determine the best visualizations for presenting this data.
The complete SQL needed to address management’s key
objectives using the fact and dimension tables of
the data warehouse are created along with a description of the
results suitable for presentation to
management.
A detailed project report should be submitted on the due date.
This project is to be done individually. This
may require additional reading and research.
This project will require more than 24 hours of work time to
complete.
To complete assignment, you should complete the following
activities:
1) Review the management questions you developed carefully.
2) For each question identify the fact and dimension tables
needed.
3) Complete the activities listed below under submission
requirements.
Assignment Resources
1) The populated database that implements the DW from
Milestone 2.
2) The management questions for most competitive advantage
from Milestone 1.
3) Review of Chapter 13;
4) Recorded lecture slides on Chapter 13;
https://www.coursehero.com/file/35107893/Project-2-
Milestone-3pdf/
Th
is
stu
dy
re
so
ur
ce
w
as
sh
are
d v
ia
Co
ur
se
He
ro
.co
m
https://www.coursehero.com/file/35107893/Project-2-
Milestone-3pdf/
Business Situation Description:
You work for a large corporation that has just purchased 2 hotel
and resort corporations each consisting of
over 100 hotels. You have created a DW for the situation and
now need to demonstrate that it works by
creating the queries needed for reports and visualizations.
Submission Requirements (start with #8 to pick up where M2
ended with #7)
When completed, please upload your documents under the
“Assignments” tab in Canvas. Please use a
document naming convention that allows us to determine your
name. EXAMPLE:
“LastName_FirstName_Project2Milestone3.docx”.
8) Write the SQL that will be needed to answer the three most
important questions using your data
warehouse. This requires writing 3 SQL statements. (10 points)
For each question, show the query and sample results of
executing the query using your implemented
database from Milestone 2.
These sql statements should use the ROLLUP/CUBE features of
SQL for processing dimension data.
This script is from the textbook has sample rollup and cube
SQL: DW-OLAP-SQL.txt
9) Create a visualization for your first management question.
(Note: Figures P13.3.2G (page 615) and P13.3 (page 616) show
single fact tables with multiple
dimensions.
This assignment provides an opportunity to demonstrate the
value of your data warehouse from Project 2
Milestones 1 and 2. It involves exporting data from your data
warehouse to Excel (or Tableau or other
graphing package of your choice), then using the graphing tools
to create simple visualizations of your data.
Simple visualizations are excellent for communicating
effectively with users and managers.
Submit a picture of the visualization embedded in your
submission document followed by a short description
(2-3 sentences) that explains the visualization for the intended
user. (5 points)
11) Create a visualization for your second management
question. (Note: it must be different than the
first and ideally use different fact or dimension tables).
Submit a picture of the graph embedded your submission
document followed by a short description (2-3
sentences) that explains the visualization for the intended user.
(5 points)
12) Create a third visualization, it must be different than the
first two and should use different fact or
dimension tables.
Submit a picture of the graph embedded in your submission
document followed by a short description (2-3
sentences) that explains the visualization for the intended user.
(5 points)
https://www.coursehero.com/file/35107893/Project-2-
Milestone-3pdf/
Th
is
stu
dy
re
so
ur
ce
w
as
sh
are
d v
ia
Co
ur
se
He
ro
.co
m
https://www.coursehero.com/file/35107893/Project-2-
Milestone-3pdf/
Assessment
Your submission document will be checked for correctness and
completeness.
Connecting Assignments
This milestone takes the populated database for the DW from
milestone 2 and uses it to produce reports and
visualizations that answer the questions from Milestone 1. It is
the final step that demonstrates the value of
implementing a DW.
https://www.coursehero.com/file/35107893/Project-2-
Milestone-3pdf/
Th
is
stu
dy
re
so
ur
ce
wa
sa
red
vi
a
Co
ur
se
He
ro
sh
.co
m
Powered by TCPDF (www.tcpdf.org)
https://www.coursehero.com/file/35107893/Project-2-
Milestone-3pdf/
http://www.tcpdf.org

More Related Content

Similar to Chapter 13 Business Intelligence and Data Warehouses Problems.docx

Sql query analyzer & maintenance
Sql query analyzer & maintenanceSql query analyzer & maintenance
Sql query analyzer & maintenancenspyrenet
 
Teradata Aggregate Join Indices And Dimensional Models
Teradata Aggregate Join Indices And Dimensional ModelsTeradata Aggregate Join Indices And Dimensional Models
Teradata Aggregate Join Indices And Dimensional Modelspepeborja
 
1 ACC ACF 2400 – Semester 2, 2017 Individual Assignm.docx
1  ACC ACF 2400 – Semester 2, 2017  Individual Assignm.docx1  ACC ACF 2400 – Semester 2, 2017  Individual Assignm.docx
1 ACC ACF 2400 – Semester 2, 2017 Individual Assignm.docxhoney725342
 
Assignment Overview Case 4 is in two parts Your Dreams Our Mission/tutorialou...
Assignment Overview Case 4 is in two parts Your Dreams Our Mission/tutorialou...Assignment Overview Case 4 is in two parts Your Dreams Our Mission/tutorialou...
Assignment Overview Case 4 is in two parts Your Dreams Our Mission/tutorialou...davidwarner122
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and EngineeringVijayananda Mohire
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and EngineeringVijayananda Mohire
 
Creating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisherCreating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisherSamchi Fouzee
 
PURPOSE of the project is Williams Specialty Company (WSC) reque.docx
PURPOSE of the project is Williams Specialty Company (WSC) reque.docxPURPOSE of the project is Williams Specialty Company (WSC) reque.docx
PURPOSE of the project is Williams Specialty Company (WSC) reque.docxamrit47
 
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxketurahhazelhurst
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...Rajeev Kumar
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...Kranthi Kumar
 
Rodney Matejek Portfolio
Rodney Matejek PortfolioRodney Matejek Portfolio
Rodney Matejek Portfoliormatejek
 
Reynaldo Fadri’S Porfolio
Reynaldo Fadri’S PorfolioReynaldo Fadri’S Porfolio
Reynaldo Fadri’S Porfoliorfadri
 
Data warehousing and business intelligence project report
Data warehousing and business intelligence project reportData warehousing and business intelligence project report
Data warehousing and business intelligence project reportsonalighai
 

Similar to Chapter 13 Business Intelligence and Data Warehouses Problems.docx (20)

Da 100-questions
Da 100-questionsDa 100-questions
Da 100-questions
 
Bis 345-week-4-i lab-new
Bis 345-week-4-i lab-newBis 345-week-4-i lab-new
Bis 345-week-4-i lab-new
 
SAC_Planning.pdf
SAC_Planning.pdfSAC_Planning.pdf
SAC_Planning.pdf
 
Sql query analyzer & maintenance
Sql query analyzer & maintenanceSql query analyzer & maintenance
Sql query analyzer & maintenance
 
Teradata Aggregate Join Indices And Dimensional Models
Teradata Aggregate Join Indices And Dimensional ModelsTeradata Aggregate Join Indices And Dimensional Models
Teradata Aggregate Join Indices And Dimensional Models
 
1 ACC ACF 2400 – Semester 2, 2017 Individual Assignm.docx
1  ACC ACF 2400 – Semester 2, 2017  Individual Assignm.docx1  ACC ACF 2400 – Semester 2, 2017  Individual Assignm.docx
1 ACC ACF 2400 – Semester 2, 2017 Individual Assignm.docx
 
Assignment Overview Case 4 is in two parts Your Dreams Our Mission/tutorialou...
Assignment Overview Case 4 is in two parts Your Dreams Our Mission/tutorialou...Assignment Overview Case 4 is in two parts Your Dreams Our Mission/tutorialou...
Assignment Overview Case 4 is in two parts Your Dreams Our Mission/tutorialou...
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
Key projects Data Science and Engineering
Key projects Data Science and EngineeringKey projects Data Science and Engineering
Key projects Data Science and Engineering
 
Creating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisherCreating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisher
 
PURPOSE of the project is Williams Specialty Company (WSC) reque.docx
PURPOSE of the project is Williams Specialty Company (WSC) reque.docxPURPOSE of the project is Williams Specialty Company (WSC) reque.docx
PURPOSE of the project is Williams Specialty Company (WSC) reque.docx
 
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docxCASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
CASE STUDY InternetExcel Exercises, page 434, textRecord your.docx
 
Sabyasachee_Kar_cv
Sabyasachee_Kar_cvSabyasachee_Kar_cv
Sabyasachee_Kar_cv
 
Sql Portfolio
Sql PortfolioSql Portfolio
Sql Portfolio
 
It ready dw_day4_rev00
It ready dw_day4_rev00It ready dw_day4_rev00
It ready dw_day4_rev00
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
Rodney Matejek Portfolio
Rodney Matejek PortfolioRodney Matejek Portfolio
Rodney Matejek Portfolio
 
Reynaldo Fadri’S Porfolio
Reynaldo Fadri’S PorfolioReynaldo Fadri’S Porfolio
Reynaldo Fadri’S Porfolio
 
Data warehousing and business intelligence project report
Data warehousing and business intelligence project reportData warehousing and business intelligence project report
Data warehousing and business intelligence project report
 

More from bartholomeocoombs

CompetencyAnalyze how human resource standards and practices.docx
CompetencyAnalyze how human resource standards and practices.docxCompetencyAnalyze how human resource standards and practices.docx
CompetencyAnalyze how human resource standards and practices.docxbartholomeocoombs
 
CompetencyAnalyze financial statements to assess performance.docx
CompetencyAnalyze financial statements to assess performance.docxCompetencyAnalyze financial statements to assess performance.docx
CompetencyAnalyze financial statements to assess performance.docxbartholomeocoombs
 
CompetencyAnalyze ethical and legal dilemmas that healthcare.docx
CompetencyAnalyze ethical and legal dilemmas that healthcare.docxCompetencyAnalyze ethical and legal dilemmas that healthcare.docx
CompetencyAnalyze ethical and legal dilemmas that healthcare.docxbartholomeocoombs
 
CompetencyAnalyze ethical and legal dilemmas that healthcare wor.docx
CompetencyAnalyze ethical and legal dilemmas that healthcare wor.docxCompetencyAnalyze ethical and legal dilemmas that healthcare wor.docx
CompetencyAnalyze ethical and legal dilemmas that healthcare wor.docxbartholomeocoombs
 
CompetencyAnalyze collaboration tools to support organizatio.docx
CompetencyAnalyze collaboration tools to support organizatio.docxCompetencyAnalyze collaboration tools to support organizatio.docx
CompetencyAnalyze collaboration tools to support organizatio.docxbartholomeocoombs
 
Competency Checklist and Professional Development Resources .docx
Competency Checklist and Professional Development Resources .docxCompetency Checklist and Professional Development Resources .docx
Competency Checklist and Professional Development Resources .docxbartholomeocoombs
 
Competency 6 Enagage with Communities and Organizations (3 hrs) (1 .docx
Competency 6 Enagage with Communities and Organizations (3 hrs) (1 .docxCompetency 6 Enagage with Communities and Organizations (3 hrs) (1 .docx
Competency 6 Enagage with Communities and Organizations (3 hrs) (1 .docxbartholomeocoombs
 
Competency 2 Examine the organizational behavior within busines.docx
Competency 2 Examine the organizational behavior within busines.docxCompetency 2 Examine the organizational behavior within busines.docx
Competency 2 Examine the organizational behavior within busines.docxbartholomeocoombs
 
CompetenciesEvaluate the challenges and benefits of employ.docx
CompetenciesEvaluate the challenges and benefits of employ.docxCompetenciesEvaluate the challenges and benefits of employ.docx
CompetenciesEvaluate the challenges and benefits of employ.docxbartholomeocoombs
 
CompetenciesDescribe the supply chain management principle.docx
CompetenciesDescribe the supply chain management principle.docxCompetenciesDescribe the supply chain management principle.docx
CompetenciesDescribe the supply chain management principle.docxbartholomeocoombs
 
CompetenciesABCDF1.1 Create oral, written, or visual .docx
CompetenciesABCDF1.1 Create oral, written, or visual .docxCompetenciesABCDF1.1 Create oral, written, or visual .docx
CompetenciesABCDF1.1 Create oral, written, or visual .docxbartholomeocoombs
 
COMPETENCIES734.3.4 Healthcare Utilization and Finance.docx
COMPETENCIES734.3.4  Healthcare Utilization and Finance.docxCOMPETENCIES734.3.4  Healthcare Utilization and Finance.docx
COMPETENCIES734.3.4 Healthcare Utilization and Finance.docxbartholomeocoombs
 
Competencies and KnowledgeWhat competencies were you able to dev.docx
Competencies and KnowledgeWhat competencies were you able to dev.docxCompetencies and KnowledgeWhat competencies were you able to dev.docx
Competencies and KnowledgeWhat competencies were you able to dev.docxbartholomeocoombs
 
Competencies and KnowledgeThis assignment has 2 parts.docx
Competencies and KnowledgeThis assignment has 2 parts.docxCompetencies and KnowledgeThis assignment has 2 parts.docx
Competencies and KnowledgeThis assignment has 2 parts.docxbartholomeocoombs
 
Competencies and KnowledgeThis assignment has 2 partsWhat.docx
Competencies and KnowledgeThis assignment has 2 partsWhat.docxCompetencies and KnowledgeThis assignment has 2 partsWhat.docx
Competencies and KnowledgeThis assignment has 2 partsWhat.docxbartholomeocoombs
 
Competences, Learning Theories and MOOCsRecent Developments.docx
Competences, Learning Theories and MOOCsRecent Developments.docxCompetences, Learning Theories and MOOCsRecent Developments.docx
Competences, Learning Theories and MOOCsRecent Developments.docxbartholomeocoombs
 
Compensation  & Benefits Class 700 words with referencesA stra.docx
Compensation  & Benefits Class 700 words with referencesA stra.docxCompensation  & Benefits Class 700 words with referencesA stra.docx
Compensation  & Benefits Class 700 words with referencesA stra.docxbartholomeocoombs
 
Compensation, Benefits, Reward & Recognition Plan for V..docx
Compensation, Benefits, Reward & Recognition Plan for V..docxCompensation, Benefits, Reward & Recognition Plan for V..docx
Compensation, Benefits, Reward & Recognition Plan for V..docxbartholomeocoombs
 
Compete the following tablesTheoryKey figuresKey concepts o.docx
Compete the following tablesTheoryKey figuresKey concepts o.docxCompete the following tablesTheoryKey figuresKey concepts o.docx
Compete the following tablesTheoryKey figuresKey concepts o.docxbartholomeocoombs
 
Compensation Strategy for Knowledge WorkersTo prepare for this a.docx
Compensation Strategy for Knowledge WorkersTo prepare for this a.docxCompensation Strategy for Knowledge WorkersTo prepare for this a.docx
Compensation Strategy for Knowledge WorkersTo prepare for this a.docxbartholomeocoombs
 

More from bartholomeocoombs (20)

CompetencyAnalyze how human resource standards and practices.docx
CompetencyAnalyze how human resource standards and practices.docxCompetencyAnalyze how human resource standards and practices.docx
CompetencyAnalyze how human resource standards and practices.docx
 
CompetencyAnalyze financial statements to assess performance.docx
CompetencyAnalyze financial statements to assess performance.docxCompetencyAnalyze financial statements to assess performance.docx
CompetencyAnalyze financial statements to assess performance.docx
 
CompetencyAnalyze ethical and legal dilemmas that healthcare.docx
CompetencyAnalyze ethical and legal dilemmas that healthcare.docxCompetencyAnalyze ethical and legal dilemmas that healthcare.docx
CompetencyAnalyze ethical and legal dilemmas that healthcare.docx
 
CompetencyAnalyze ethical and legal dilemmas that healthcare wor.docx
CompetencyAnalyze ethical and legal dilemmas that healthcare wor.docxCompetencyAnalyze ethical and legal dilemmas that healthcare wor.docx
CompetencyAnalyze ethical and legal dilemmas that healthcare wor.docx
 
CompetencyAnalyze collaboration tools to support organizatio.docx
CompetencyAnalyze collaboration tools to support organizatio.docxCompetencyAnalyze collaboration tools to support organizatio.docx
CompetencyAnalyze collaboration tools to support organizatio.docx
 
Competency Checklist and Professional Development Resources .docx
Competency Checklist and Professional Development Resources .docxCompetency Checklist and Professional Development Resources .docx
Competency Checklist and Professional Development Resources .docx
 
Competency 6 Enagage with Communities and Organizations (3 hrs) (1 .docx
Competency 6 Enagage with Communities and Organizations (3 hrs) (1 .docxCompetency 6 Enagage with Communities and Organizations (3 hrs) (1 .docx
Competency 6 Enagage with Communities and Organizations (3 hrs) (1 .docx
 
Competency 2 Examine the organizational behavior within busines.docx
Competency 2 Examine the organizational behavior within busines.docxCompetency 2 Examine the organizational behavior within busines.docx
Competency 2 Examine the organizational behavior within busines.docx
 
CompetenciesEvaluate the challenges and benefits of employ.docx
CompetenciesEvaluate the challenges and benefits of employ.docxCompetenciesEvaluate the challenges and benefits of employ.docx
CompetenciesEvaluate the challenges and benefits of employ.docx
 
CompetenciesDescribe the supply chain management principle.docx
CompetenciesDescribe the supply chain management principle.docxCompetenciesDescribe the supply chain management principle.docx
CompetenciesDescribe the supply chain management principle.docx
 
CompetenciesABCDF1.1 Create oral, written, or visual .docx
CompetenciesABCDF1.1 Create oral, written, or visual .docxCompetenciesABCDF1.1 Create oral, written, or visual .docx
CompetenciesABCDF1.1 Create oral, written, or visual .docx
 
COMPETENCIES734.3.4 Healthcare Utilization and Finance.docx
COMPETENCIES734.3.4  Healthcare Utilization and Finance.docxCOMPETENCIES734.3.4  Healthcare Utilization and Finance.docx
COMPETENCIES734.3.4 Healthcare Utilization and Finance.docx
 
Competencies and KnowledgeWhat competencies were you able to dev.docx
Competencies and KnowledgeWhat competencies were you able to dev.docxCompetencies and KnowledgeWhat competencies were you able to dev.docx
Competencies and KnowledgeWhat competencies were you able to dev.docx
 
Competencies and KnowledgeThis assignment has 2 parts.docx
Competencies and KnowledgeThis assignment has 2 parts.docxCompetencies and KnowledgeThis assignment has 2 parts.docx
Competencies and KnowledgeThis assignment has 2 parts.docx
 
Competencies and KnowledgeThis assignment has 2 partsWhat.docx
Competencies and KnowledgeThis assignment has 2 partsWhat.docxCompetencies and KnowledgeThis assignment has 2 partsWhat.docx
Competencies and KnowledgeThis assignment has 2 partsWhat.docx
 
Competences, Learning Theories and MOOCsRecent Developments.docx
Competences, Learning Theories and MOOCsRecent Developments.docxCompetences, Learning Theories and MOOCsRecent Developments.docx
Competences, Learning Theories and MOOCsRecent Developments.docx
 
Compensation  & Benefits Class 700 words with referencesA stra.docx
Compensation  & Benefits Class 700 words with referencesA stra.docxCompensation  & Benefits Class 700 words with referencesA stra.docx
Compensation  & Benefits Class 700 words with referencesA stra.docx
 
Compensation, Benefits, Reward & Recognition Plan for V..docx
Compensation, Benefits, Reward & Recognition Plan for V..docxCompensation, Benefits, Reward & Recognition Plan for V..docx
Compensation, Benefits, Reward & Recognition Plan for V..docx
 
Compete the following tablesTheoryKey figuresKey concepts o.docx
Compete the following tablesTheoryKey figuresKey concepts o.docxCompete the following tablesTheoryKey figuresKey concepts o.docx
Compete the following tablesTheoryKey figuresKey concepts o.docx
 
Compensation Strategy for Knowledge WorkersTo prepare for this a.docx
Compensation Strategy for Knowledge WorkersTo prepare for this a.docxCompensation Strategy for Knowledge WorkersTo prepare for this a.docx
Compensation Strategy for Knowledge WorkersTo prepare for this a.docx
 

Recently uploaded

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Recently uploaded (20)

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

Chapter 13 Business Intelligence and Data Warehouses Problems.docx

  • 1. Chapter 13: Business Intelligence and Data Warehouses Problems Book Title: Database Systems: Design, Implementation, and Management Printed By: nalini chowala ([email protected]) © 2017 Cengage Learning, Cengage Learning Chapter Review Problems 1. The university computer lab's director keeps track of lab usage, as measured by the number of students using the lab. This function is important for budgeting purposes. The computer lab director assigns you the task of developing a data warehouse to keep track of the lab usage statistics. The main requirements for this database are to: • Show the total number of users by different time periods. • Show usage numbers by time period, by major, and by student classification. • Compare usage for different majors and different semesters.
  • 2. Use the Ch13_P1.mdb database, which includes the following tables: • USELOG contains the student lab access data. • STUDENT is a dimension table that contains student data. Given the three preceding requirements, and using the Ch13_P1.mdb data, complete the following problems: a. Define the main facts to be analyzed. (Hint: These facts become the source for the design of the fact table.) b. Define and describe the appropriate dimensions. (Hint: These dimensions become the source for the design of the dimension tables.) c. Draw the lab usage star schema, using the fact and dimension structures you defined in Problems 1a and 1b. d. Define the attributes for each of the dimensions in Problem 1b. Page 1 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html?
  • 3. e. Recommend the appropriate attribute hierarchies. f. Implement your data warehouse design, using the star schema you created in Problem 1c and the attributes you defined in Problem 1d. g. Create the reports that will meet the requirements listed in this problem's introduction. 2. Victoria Ephanor manages a small product distribution company. Because the business is growing fast, she recognizes that it is time to manage the vast information pool to help guide the accelerating growth. Ephanor, who is familiar with spreadsheet software, currently employs a sales force of four people. She asks you to develop a data warehouse application prototype that will enable her to study sales figures by year, region, salesperson, and product. (This prototype will be used as the basis for a future data warehouse database.)
  • 4. Using the data supplied in the Ch13_P2.xls file, complete the following seven problems: a. Identify the appropriate fact table components. b. Identify the appropriate dimension tables. c. Draw a star schema diagram for this data warehouse. d. Identify the attributes for the dimension tables that will be required to solve this problem. e. Using Microsoft Excel or any other spreadsheet program that can produce pivot tables, generate a pivot table to show the sales by product and by region. The end user must be able to specify the display of sales for any given year. The sample output is shown in the first pivot table in Figure P13.2E. Figure P13.2E Using a Pivot Table Page 2 of 12Print Preview
  • 5. 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html? f. Using Problem 2e as your base, add a second pivot table (see Figure P13.2E) to show the sales by salesperson and by region. The end user must be able to specify sales for a given year or for all years, and for a given product or for all products. g. Create a 3D bar graph to show sales by salesperson, by product, and by region. (See the sample output in Figure P13.2G.) Figure P13.2G 3D Bar Graph Showing the Relationships Among Agent, Product, and Region Page 3 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html? 3. David Suker, the inventory manager for a marketing research company, wants
  • 6. to study the use of supplies within the different company departments. Suker has heard that his friend, Victoria Ephanor, has developed a spreadsheet- based data warehouse model that she uses to analyze sales data (see Problem 2). Suker is interested in developing a data warehouse model like Ephanor's so he can analyze orders by department and by product. He will use Microsoft Access as the data warehouse DBMS and Microsoft Excel as the analysis tool. a. Develop the order star schema. b. Identify the appropriate dimension attributes. c. Identify the attribute hierarchies required to support the model. d. Develop a crosstab report in Microsoft Access, using a 3D bar graph to show orders by product and by department. (The sample output is shown in Figure P13.3.)
  • 7. Figure P13.3 Crosstab Report: Orders by Product and Department Page 4 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html? 4. ROBCOR, whose sample data is contained in the database named Ch13_P4.mdb, provides “on-demand” aviation charters using a mix of different aircraft and aircraft types. Because ROBCOR has grown rapidly, its owner has hired you as its first database manager. The company's database, developed by an outside consulting team, is already in place to help manage all company operations. Your first critical assignment is to develop a decision support system to analyze the charter data. (Review the company's operations in Problems 24–31 of Chapter 3, The Relational Database Model.) The charter operations manager wants to be able to analyze
  • 8. charter data such as cost, hours flown, fuel used, and revenue. She also wants to be able to drill down by pilot, type of airplane, and time periods. Given those requirements, complete the following: a. Create a star schema for the charter data. b. Define the dimensions and attributes for the charter operation's star schema. c. Define the necessary attribute hierarchies. d. Implement the data warehouse design using the design components you developed in Problems 4a–4c. e. Generate the reports to illustrate that your data warehouse meets the specified information requirements. Using the data provided in the Ch13-SaleCo-DW database, solve the following problems. (Hint: In Problems 5–11, use the ROLLUP command.) 5. What is the SQL command to list the total sales by customer and by product,
  • 9. with subtotals by customer and a grand total for all product sales? Figure P13.5 shows the abbreviated results of the query. Figure P13.5 Page 5 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html? Problem 5 Abbreviated Result 6. What is the SQL command to list the total sales by customer, month, and product, with subtotals by customer and by month and a grand total for all product sales? Figure P13.6 shows the abbreviated results of the query. Figure P13.6 Problem 6 Abbreviated Result Page 6 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html?
  • 10. 7. What is the SQL command to list the total sales by region and customer, with subtotals by region and a grand total for all sales? Figure P13.7 shows the result of the query. Figure P13.7 Problem 7 Result 8. What is the SQL command to list the total sales by month and product category, with subtotals by month and a grand total for all sales? Figure P13.8 shows the result of the query. Figure P13.8 Problem 8 Result Page 7 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html? 9. What is the SQL command to list the number of product sales (number of rows) and total sales by month, with subtotals by month and a
  • 11. grand total for all sales? Figure P13.9 shows the result of the query. Figure P13.9 Problem 9 Result 10. What is the SQL command to list the number of product sales (number of rows) and total sales by month and product category, with subtotals by month and product category and a grand total for all sales? Figure P13.10 shows the result of the query. Figure P13.10 Problem 10 Result Page 8 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html? 11. What is the SQL command to list the number of product sales (number of rows) and total sales by month, product category, and product, with subtotals
  • 12. by month and product category and a grand total for all sales? Figure P13.11 shows the result of the query. Figure P13.11 Problem 11 Result Page 9 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html? 12. Using the answer to Problem 10 as your base, what command would you need to generate the same output but with subtotals in all columns? (Hint: Use the CUBE command.) Figure P13.12 shows the result of the query. Figure P13.12 Problem 12 Result 13. Create your own data analysis and visualization presentation. The purpose of this project is for you to search for a publicly available data set using the Internet and create your own presentation using what you have
  • 13. learned in this chapter. a. Search for a data set that may interest you and download it. Some examples of public data sets sources are: • http://www.data.gov • http://data.worldbank.org • http://aws.amazon.com/datasets • http://usgovxml.com/ • https://data.medicare.gov/ Page 10 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html? • http://www.faa.gov/data_research/ b. Use any tool available to you to analyze the data. You can use tools such as MS Excel Pivot Tables, Pivot Charts, or other free tools, such as Google Fusion tables, Tableau free trial, IBM Many Eyes, etc.
  • 14. c. Create a short presentation to explain some of your findings (what the data sources are, where the data comes from, what the data represents, etc.) Note The visualization in Figure P13.13 was created using a data set downloaded from one of the public sources listed above. A trial version of Tableau was used to create the visualizations. This simple example illustrates the type of quick analysis you can do for this project. Figure P13.13 Visualization Example Using Tableau Source: Tableau Page 11 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html?
  • 15. Chapter 13: Business Intelligence and Data Warehouses Problems Book Title: Database Systems: Design, Implementation, and Management Printed By: nalini chowala ([email protected]) © 2017 Cengage Learning, Cengage Learning © 2018 Cengage Learning Inc. All rights reserved. No part of this work may by reproduced or used in any form or by any means - graphic, electronic, or mechanical, or in any other manner - without the written permission of the copyright holder. Page 12 of 12Print Preview 8/26/2018https://ng.cengage.com/static/nbreader/ui/apps/nbread er/print_preview/print_preview.html? /* DW-OLAP-SQL.TXT */ /* DATA WAREHOUSE OLAP SQL */ /* Script file for ORACLE DBMS */ /* CREATE TABLES */ @PAHTDW-DBINIT.SQL /* ROLLUP EXAMPLE */ SELECT V_CODE, P_CODE, SUM(SALE_UNITS*SALE_PRICE) AS TOTSALES FROM DWDAYSALESFACT NATURAL JOIN DWPRODUCT NATURAL JOIN DWVENDOR GROUP BY ROLLUP (V_CODE, P_CODE) ORDER BY V_CODE, P_CODE; /* CUBE EXAMPLE */ SELECT TM_MONTH, P_CODE, SUM(SALE_UNITS*SALE_PRICE) AS TOTSALES FROM DWDAYSALESFACT NATURAL JOIN DWPRODUCT NATURAL JOIN DWTIME
  • 16. GROUP BY CUBE (TM_MONTH, P_CODE) ORDER BY TM_MONTH, P_CODE; /* MATERIALIZED VIEW EXAMPLE */ /* MUST CREATE MATERIALIZED VIEW LOGS ON BASE TABLES FIRST */ /* CREATES MATERIALIZED VIEW LOG FILE */ /* ON BASE TABLES - REQUIRED IF DOING FAST REFRESH */ /* FAST REFRESH OF MV WITH AGGREGATES REQUIRES: */ /* ROWID, SEQUENCE INCLUDING NEW VALUES */ CREATE MATERIALIZED VIEW LOG ON DWTIME WITH ROWID, SEQUENCE INCLUDING NEW VALUES; CREATE MATERIALIZED VIEW LOG ON DWDAYSALESFACT WITH ROWID, SEQUENCE INCLUDING NEW VALUES; /* CREATE AMATERIALIZED VIEW TO REFRESH ON COMMIT */ /* REFRESH ON COMMIT */ CREATE MATERIALIZED VIEW SALES_MONTH_MV BUILD IMMEDIATE REFRESH FORCE ON COMMIT ENABLE QUERY REWRITE AS SELECT TM_YEAR, TM_MONTH, P_CODE, SUM(SALE_UNITS), SUM(SALE_PRICE*SALE_UNITS) AS SUM_SALES FROM DWTIME T, DWDAYSALESFACT S WHERE S.TM_ID = T.TM_ID GROUP BY TM_YEAR, TM_MONTH, P_CODE; SELECT * FROM SALES_MONTH_MV ORDER BY TM_YEAR, TM_MONTH, SUM_SALES; COMMIT; INSERT INTO DWDAYSALESFACT VALUES (207,10017,'WR3/TT3',1,106.99); COMMIT;
  • 17. SELECT * FROM SALES_MONTH_MV ORDER BY TM_YEAR, TM_MONTH, SUM_SALES; /* DROP ALL OBJECTS CREATED */ DROP MATERIALIZED VIEW SALES_MONTH_MV; DROP MATERIALIZED VIEW LOG ON DWTIME; DROP MATERIALIZED VIEW LOG ON DWDAYSALESFACT; DELETE FROM DWDAYSALESFACT WHERE TM_ID=207 AND CUS_CODE=10017 AND P_CODE='SM-18277'; COMMIT; Project 2 Milestone 3: DW Reporting and Visualization Due Dec 5 by 11:00AM Points 25 Submitting a file upload Submit Assignment ACIS 5504 – Project 2 Data Warehouse Milestone 3: DW Reporting and Visualization 25 Points Due: See Canvas Assignments Page Overview This milestone uses the implemented database that is the output of Milestone 2 to produce reports and
  • 18. visualizations implemented with SQL Rollup queries. This is the final step in Project 2 and provides a hands- on application of the concepts related to using a data warehouse for addressing users' questions. It involves writing the SQL queries needed to retrieve the data and thinking from a user/management perspective to determine the best visualizations for presenting this data. The complete SQL needed to address management’s key objectives using the fact and dimension tables of the data warehouse are created along with a description of the results suitable for presentation to management. A detailed project report should be submitted on the due date. This project is to be done individually. This may require additional reading and research. This project will require more than 24 hours of work time to complete. To complete assignment, you should complete the following activities: 1) Review the management questions you developed carefully. 2) For each question identify the fact and dimension tables needed.
  • 19. 3) Complete the activities listed below under submission requirements. Assignment Resources 1) The populated database that implements the DW from Milestone 2. 2) The management questions for most competitive advantage from Milestone 1. 3) Review of Chapter 13; 4) Recorded lecture slides on Chapter 13; https://www.coursehero.com/file/35107893/Project-2- Milestone-3pdf/ Th is stu dy re so ur ce w as sh are
  • 20. d v ia Co ur se He ro .co m https://www.coursehero.com/file/35107893/Project-2- Milestone-3pdf/ Business Situation Description: You work for a large corporation that has just purchased 2 hotel and resort corporations each consisting of over 100 hotels. You have created a DW for the situation and now need to demonstrate that it works by creating the queries needed for reports and visualizations. Submission Requirements (start with #8 to pick up where M2 ended with #7) When completed, please upload your documents under the “Assignments” tab in Canvas. Please use a document naming convention that allows us to determine your name. EXAMPLE:
  • 21. “LastName_FirstName_Project2Milestone3.docx”. 8) Write the SQL that will be needed to answer the three most important questions using your data warehouse. This requires writing 3 SQL statements. (10 points) For each question, show the query and sample results of executing the query using your implemented database from Milestone 2. These sql statements should use the ROLLUP/CUBE features of SQL for processing dimension data. This script is from the textbook has sample rollup and cube SQL: DW-OLAP-SQL.txt 9) Create a visualization for your first management question. (Note: Figures P13.3.2G (page 615) and P13.3 (page 616) show single fact tables with multiple dimensions. This assignment provides an opportunity to demonstrate the value of your data warehouse from Project 2 Milestones 1 and 2. It involves exporting data from your data warehouse to Excel (or Tableau or other graphing package of your choice), then using the graphing tools to create simple visualizations of your data. Simple visualizations are excellent for communicating
  • 22. effectively with users and managers. Submit a picture of the visualization embedded in your submission document followed by a short description (2-3 sentences) that explains the visualization for the intended user. (5 points) 11) Create a visualization for your second management question. (Note: it must be different than the first and ideally use different fact or dimension tables). Submit a picture of the graph embedded your submission document followed by a short description (2-3 sentences) that explains the visualization for the intended user. (5 points) 12) Create a third visualization, it must be different than the first two and should use different fact or dimension tables. Submit a picture of the graph embedded in your submission document followed by a short description (2-3 sentences) that explains the visualization for the intended user. (5 points) https://www.coursehero.com/file/35107893/Project-2- Milestone-3pdf/ Th is
  • 24. completeness. Connecting Assignments This milestone takes the populated database for the DW from milestone 2 and uses it to produce reports and visualizations that answer the questions from Milestone 1. It is the final step that demonstrates the value of implementing a DW. https://www.coursehero.com/file/35107893/Project-2- Milestone-3pdf/ Th is stu dy re so ur ce wa sa red vi a Co
  • 25. ur se He ro sh .co m Powered by TCPDF (www.tcpdf.org) https://www.coursehero.com/file/35107893/Project-2- Milestone-3pdf/ http://www.tcpdf.org