23.05.2017 Views

BIS 445 DeVry Week 2 I Lab

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>BIS</strong> <strong>445</strong> <strong>DeVry</strong> <strong>Week</strong> 2 I <strong>Lab</strong><br />

Downloading is very simple, you can download this Course here:<br />

http://mindsblow.us/question_des/<strong>BIS</strong><strong>445</strong><strong>DeVry</strong><strong>Week</strong>2i<strong>Lab</strong>/4385<br />

Or<br />

Contact us at:<br />

SUPPORT@WISEAMERICAN.US<br />

<strong>BIS</strong> <strong>445</strong> <strong>DeVry</strong> <strong>Week</strong> 2 I <strong>Lab</strong><br />

<strong>BIS</strong><strong>445</strong><br />

<strong>BIS</strong> <strong>445</strong> <strong>DeVry</strong> <strong>Week</strong> 2 I <strong>Lab</strong><br />

Create a data warehouse using a star schema and then analyze data warehouse information.<br />

Note! Submit your assignment to the Dropbox located on the silver tab at the top of this page. (See the Syllabus section<br />

"Due Dates for Assignments & Exams" for due dates.)<br />

Remember This! Connect to the I <strong>Lab</strong> here.<br />

I LAB OVERVIEW<br />

Scenario and Summary<br />

You will start with a comma delimited file that looks like this:<br />

When you are finished moving the data into the data warehouse, you will have split the customer, order, and product<br />

information into their own tables and, as a result, create a star schema that looks like this:<br />

As you can see, the Fact Orders table has become a fact table containing statistics we might want to analyze as<br />

managers of a company. The fact table contains the primary keys of the other tables as foreign keys. Also in the fact<br />

table (Fact Orders), we have stored the result of Price*Quantity in a newly created column called Sales Total. Sales<br />

Total is a fact we would like to analyze using an OLAP tool, such as a pivot table, in the future.<br />

The primary key of the Fact Orders table is a Surrogate Key which has been generated by the database management<br />

system.<br />

In the star schema, the products and customers table have become dimension tables. Furthermore, the star schema<br />

removes the duplicated customer and product names that existed in the original comma delimited file and puts them in<br />

normalized customer and product tables.<br />

Last of all, the star schema violates the third normal form, which says that no calculated fields should exist in the design<br />

(schema). In this case, the Sales Total column is a calculated field.<br />

This violation isn't a problem because in a Decision Support System, software that accesses a data warehouse, it is<br />

acceptable to violate normal forms if it speeds up SQL queries by minimizing table joins and storing calculations in the<br />

database.<br />

Your task is to create a star schema that is capable of holding the information in the comma delimited file, and then<br />

load the star schema with the data from the text file. You will load the comma delimited data file into a temporary table<br />

in the SQL database. After you design the star schema, you will use SQL statements to populate the star schema with<br />

the necessary data from the temporary table. Finally, you will analyze the data by order year in order to find out which<br />

customers have the highest to lowest sales.


Deliverables<br />

Submit the YourName_<strong>Lab</strong>2_Questions.docx to the <strong>Week</strong> 2 I <strong>Lab</strong> Dropbox.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!