Main benefits of utilizing business intelligence software

Assignment Help Basic Computer Science
Reference no: EM13233660

One of the main benefits of utilizing business intelligence software is that it gives you information needed to run your business. Being able to look at what happened in the past can give management insight into what will probably happen in the future.
The Management of Tiny Video want to expand their business and have come to you to provide the information they need to make their decision. You explain to them that the tools you have available are the database you created for the store and Microsoft Excel. You also have all the data for March that you can load into the database and to use for the reports. 
The information they have requested is:
Income by Zip Code
Income by Customer
Number of Rentals and Income by Day of the Month
Number of Rentals and Income by Day of the Week
% of Total Rentals by Day of the Week

They've also requested the information in tabular and graph format. After you discuss the assignment with the owners, it's also decided that all income fields should be broken out as rental income, late fee income and total income. 

You talk to some of the senior database analysts and designer that you know and come up with the following mock reports:

Day of the Week Information:
Income By Customer:
Income By Zip Code
Income By Date:
You also discuss that Management will most likely be looking for these reports on an on-going basis. So the best way to implement this would be to implement an ODBC connection between Excel and your database (that you developed as part of the Chapter 7 assignment). 
The remaining data for March needs to be added to the database. The DDL can be found at:
https://njit.mrooms.net/mod/resource/view.php?id=313965

You will need to establish an ODBC Connection between Excel on your PC and the database you will be using. There is an abundance of information on the internet. Just search on Google using Excel ODBC and the DBMS you're using. If you have trouble, let me know and I'll help you get things set up.

In the examples your associates created, they created one query to use in Excel that pulls all the information you need into one sheet. You can then build Pivot Tables off of the data you pull from the database. The query they used to pull the information from an Oracle Database is as follows:

SELECT RENTAL.MEM_NUM, RENTAL.RENT_DATE, DETAILRENTAL.RENT_NUM, DETAIL_FEE,
DETAIL_DAILYLATEFEE, MEMBERSHIP.MEM_ZIP, TO_CHAR (RENT_DATE, 'DAY') AS D,
(DETAIL_DUEDATE - RENTAL.RENT_DATE) AS DAYS_RENTED,
CASE WHEN DETAIL_RETURNDATE <= DETAIL_DUEDATE THEN 0 ELSE ((DETAIL_RETURNDATE - DETAIL_DUEDATE) * DETAIL_DAILYLATEFEE) END as LATE_FEE_INCOME, 
((DETAILRENTAL.DETAIL_DUEDATE - RENTAL.RENT_DATE) * DETAIL_FEE) AS RENTAL_INCOME, 
CASE WHEN DETAIL_RETURNDATE <= DETAIL_DUEDATE 
THEN ((DETAILRENTAL.DETAIL_DUEDATE - RENTAL.RENT_DATE) * DETAIL_FEE) 
ELSE ((DETAIL_RETURNDATE - DETAIL_DUEDATE) * DETAIL_DAILYLATEFEE) + ((DETAILRENTAL.DETAIL_DUEDATE - RENTAL.RENT_DATE) * DETAIL_FEE) END AS TOTAL_INCOME
FROM RENTAL, DETAILRENTAL, MEMBERSHIP
WHERE DETAILRENTAL.RENT_NUM = RENTAL.RENT_NUM and MEMBERSHIP.MEM_NUM = RENTAL.MEM_NUM
When you ask about the query they explain:
1. Excel ends the query so you don't need a semi-colon at the end
2. Since the income for a given rental isn't stored in the database, you have to calculate it for each rental. Calculating the late fees without seeing if the rental was returned on time would return negate late fees if the rentals were returned early. So you need to use the CASE statements as a way if determining what calculation to use. You needed 2 of them, one when calculating LATE_FEE_INCOME and one when calculating TOTAL_INCOME. Excel doesn't support PL/SQL IF statements, so you needed to use another statement type.
3. They also explain that using one query containing the data needed was like a 2 dimensional data cube. This would provide more consistent data then running specific queries for each report and possibly getting inconsistent results depending on how you wrote the WHERE statements in the different SQL statements.

You need to do the following to complete the assignment.
1. Create a spreadsheet with an ODBC connection to your database that executes the SQL statement provided
2. Create pivot tables from the results sheet (where Excel puts the data it results) of the query.
3. Create a new sheet for each of the PIVOT tables. The sheets should contain the detailed data needed for the graph and the graph requested by management

Submit the complete spreadsheet for the assignment. Do not copy the results into WORD or print the Spreadsheet to a PDF. Only the spreadsheet will be accepted.


If you are using MS/SQL, the query would be:

SELECT MEM_ZIP, RENTAL.RENT_NUM,
DETAIL_FEE,
DETAIL_DAILYLATEFEE,
CASE DATEPART (dw, RENT_DATE) 
WHEN 1 THEN 'Sunday'
WHEN 2 THEN 'Monday'
WHEN 3 THEN 'Tuesday'
WHEN 4 THEN 'Wednesday'
WHEN 5 THEN 'Thursday'
WHEN 6 THEN 'Friday'
WHEN 7 THEN 'Saturday' else null end as D,
Datediff(dy, RENTAL.RENT_DATE,DETAIL_DUEDATE) AS DAYS_RENTED,
CASE WHEN DETAIL_RETURNDATE <= DETAIL_DUEDATE THEN 0 ELSE (datediff(dy,DETAIL_DUEDATE,DETAIL_RETURNDATE) * DETAIL_DAILYLATEFEE) END as LATE_FEE_INCOME, 
(datediff(dy,RENTAL.RENT_DATE,DETAILRENTAL.DETAIL_DUEDATE) * DETAIL_FEE) AS RENTAL_INCOME, 
RENTAL.MEM_NUM, 
convert(varchar(8),RENTAL.RENT_DATE,1) AS [Rent Date],
CASE WHEN DETAIL_RETURNDATE <= DETAIL_DUEDATE 
THEN (datediff(dy, RENTAL.RENT_DATE,DETAILRENTAL.DETAIL_DUEDATE) * DETAIL_FEE) 
ELSE (datediff(dy,DETAIL_DUEDATE,DETAIL_RETURNDATE) * DETAIL_DAILYLATEFEE) + (datediff(dy,RENTAL.RENT_DATE,DETAILRENTAL.DETAIL_DUEDATE) * DETAIL_FEE) END AS TOTAL_INCOME
FROM RENTAL, DETAILRENTAL, MEMBERSHIP
WHERE DETAILRENTAL.RENT_NUM = RENTAL.RENT_NUM and MEMBERSHIP.MEM_NUM = RENTAL.MEM_NUM 

Reference no: EM13233660

Questions Cloud

What law applies to this agreement : What law applies to this agreement? Provide a step-by-step analysis leading to your conclusion and is there a contract under the applicable law? Provide citations to the relevant authority in support of your answer.
Analyze a best practice human capital acquisition : Identify and analyze a best practice human capital acquisition, development, and retention in the United Kingdom.
Explain what volume will the dry hydrogen occupy at stp : Hydrogen gas was collected by downward displacement of water. A volume of 0.600 L of gas was collected at 25.0 °C and 740.0 torr. What volume will the dry hydrogen occupy at STP? The vapor pressure of water is 21.2 torr at 25.0 °C.
What condition must hold for argument to withstand criticism : According to an article in BusinessWeek Online, the company is not only the world's largest shipbuilder but also manufactures other industrial goods ranging from construction equipment and marine engines to building power points and oil refineries..
Main benefits of utilizing business intelligence software : One of the main benefits of utilizing business intelligence software is that it gives you information needed to run your business. Being able to look at what happened in the past can give management insight into what will probably happen in the futur..
Explain what is the specific heat capacity of unknown metal : The final temperature of the the calorimeter is 24.0 C. What is the specific heat capacity of unknown metal? The specific heat capacity of water is 4.184 J g^-1 C^-1
What is the cars minimum breaking distance : A bus is traveling up a hill at a speed of 34m/s. The hill is 23 degrees relative to horizontal and the coefficient of static friction between the bus's tires and the road is 0.6
What is six sigma : What is Six Sigma? Who started it? What organizations currently utilize Six Sigma.
Organizing to implement cost leadership strategies : Which of these two approaches seems more reasonable? Under what conditions would these different apporaches make more or less sense?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Government imposes below-equilibrium price ceiling on market

If the government imposes the same below-equilibrium price ceiling on all these markets, which of the following statements will be true?

  Explaining real-world group support system success stories

Identify one real-world Group Support System success stories (e.g., from vendor Web sites or from reports/articles) and describe them.

  How implement memory allocation with strings

how implement memory allocation with strings.

  How to stop process-freeze its memory image in process

Some multicomputers permit running processes to be migrated from one node to another. Is it adequate to stop process, freeze its memory image, and just ship that off to different node?

  Use the matlab function spline to evaluate the natural cubic

Use the Matlab function spline to evaluate the natural cubic spline that interpolates the data points stored in the arrays x,y at on the points of the ner grid xx. (b) Plot the results of part (a).

  Implementation for the r-type instructions add, or, and and

figuring out how to add an implementation for the R-type instructions ADD, OR, and AND. This is a MIPS architecture. // Incomplete behavioral model of MIPS pipeline

  Policies and provisions to unbundled network elements

What are some of the major policies and provisions under the 1996 Act in regards to unbundled network elements (UNEs).

  Give minimal dfa that performs as a mod

Give minimal DFA that performs as a mod-3 1's counter, i.e, outputs a 1 each time the number of 1's in the input sequence is a sequence is a multiple of 3.

  Explain animation schemes comprise slide transitions

Some animation schemes comprise slide transitions and some don't. When would the transition be suitable? When would it not be suitable?

  What do the terms liquidity and solvency mean

we saw how cells of similar size, shape, and function form tissues. As a tissue, muscle is very diverse! Let's kick off our study of muscles by discussing the subtypes of muscle tissue, beginning with smooth muscle. Where do we find this muscle tissu..

  Describe basic computer system and typical components

Describing the basic computer system and the typical components that perform input, output, processing, storage, and control functions.

  Creating report by city and by product to record sales

Create a report by city and another by product, including details of the sales and sub-totals and totals for quantity.

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