Business Intelligence Application Development Questions
Description
You have been tasked with creating a data warehouse so Omnibenchmark can analyse their sales in order to assist with their management decision making, in particular, they wish to be to answer the following questions:
· Total of sales of each product by Year/Month/Week/Day
· Total sales of products by supplier by Year/Month/Week/Day
· Total sales by branch by Year/Month/Week/Day
· Total sales of product by branch by Year/Month/Week/Day
· Total sales by sales clerk by Year/Month/Week/Day
· Total sales by product by sales clerk by Year/Month/Week/Day
· Total sales by product type by sales clerk by Year/Month/Week/Day
You have been given access to three data sources from which you will need to draw your data. Below are the sources and the tables within them that are/may be of interest to you. These are discussed below (Primary Key, Foreign Key):
Source 1: Human Resources Database
The Human Resources (HR) database contains data about the people who are employed by Omnibenchmark. You have been granted access to a VIEW that includes the data you may need for the various analyses required. It only includes details of employees currently employed by Omnibenchmark in a Sales-related position. The view has been supplied to you as a text file.
The VIEW is called viewEmployee and has the following columns:
viewEmployee (EmpID, LastName, FirstName, DateStarted).
Source 2: Inventory System Database
The Inventory System maintains stock levels for all products sold by Omnibenchmark as well as the details of the Supplier. The data are stored in a proprietary system to which you have not been granted access. However, an export of two of the tables has been performed for you and supplied as an Excel file. The two tables are the Product table and the Supplier table. They are structured as below:
PRODUCT (ProductNum, ProductName, SupplierNum, ProductType)
SUPPLIER (SupplierNum, SupplierName, Country)
Source 3: Sales Database
The Sales database is an oracle database (luckily for you, it’s hosted on arion.murdoch.edu.au and owned by SICT394AssignTL – you have SELECT privileges on these tables)
SALE (SaleID, ClerkID, CustomerID, SaleDate,)
SALE_LINE_ITEM ( SaleID , LineID, ProductID, ProductPrice, Quantity)
SALE_CLERK (Clerk_ID, Clerk_Name, BranchID)
CUSTOMER (CustomerID, FamilyName, GivenName, Address, Suburb, State, PostCode)
PRODUCT (ProductID, ProductName)
BRANCH (BranchID, BranchPostCode)
What you have to do:
TASK 2 : Based on your answer to Task 1, design a Star Schema that will support the analyses as listed above.