A. You need about 20 SERVICE transactions in the database. Write the needed SQL statements for any needed additional SERVICE transactions and insert the data into your database. B. Design a data warehouse star schema for a dimensional database named GG-DW. The fact table measure will be Hours Worked. C. Create the GG-DW database in a DBMS product. D. What

Chapter 8, Projects #1

This problem has been solved!


Do you need an answer to a question different from the above? Ask your question!

A. You need about 20 SERVICE transactions in the database. Write the needed SQL statements for any needed additional SERVICE transactions and insert the data into your database.

B. Design a data warehouse star schema for a dimensional database named GG-DW. The fact table measure will be Hours Worked.

C. Create the GG-DW database in a DBMS product.

D. What transformations of data will need to be made before the GG-DW database can be loaded with data? List all the transformations, showing the original format of the GARDEN_GLORY data and how it appears in the GG-DW database.

E. Write the complete set of SQL statements necessary to load the transformed data into the GG-DW database.

F. Write an SQL query similar to the one shown in the text on page 456 that uses the hours worked per day as the measure.

G. Write the SQL view equivalent of the SQL query you wrote to answer part G.

H. Create the SQL view you wrote to answer part H in your GG-DW database.

I. Using either the results of your SQL query from part G (copy the results of the query into a worksheet in the GG-DW-BI.xlsx workbook and then format this range as a worksheet table) or your SQL view from part I (create a Microsoft Excel data connection to the view), create an OLAP report similar to the OLAP report shown in Figure 8-16. (Hint:If you need help with the needed Microsoft Excel actions, search in the Microsoft Excel help system for more information.)


If you have not already implemented the Garden Glory database shown in Chapter 3 in a DBMS product, create and populate the GARDEN_GLORY database now in the DBMS of your choice (or as assigned by your instructor).

Related Book For answer-question

Database Concepts

7th edition

Authors: David M. Kroenke, David J. Auer

ISBN: 978-0133544626