CSC496: Data Warehousing and Data Mining - FALL 2020: Assignment - 2 (CLO-C2, CLO-C3)
CSC496: Data Warehousing and Data Mining - FALL 2020: Assignment - 2 (CLO-C2, CLO-C3)
In this assignment, you are going to build a program, in any language of your choice, that implements
basic ROLAP interactions within a data warehouse using the following star schema:
The data, that each of the dimension tables and the fact table contains, is provided in the following five
files:
BranchDimension.txt
ItemDimension.txt
LocationDimension.txt
TimeDimension.txt
SalesFact.txt
In order to implement the desired functionality, your program is going to offer, you should follow the
following steps:
Step-2: Using SQL Server Management Studio, create the four-dimension tables and the fact table
within the database created in Step-1.2
Step-3: Import the provided data to the corresponding tables of your database.
Step-4: In any programming language of your choice (Java, C#, Python etc.), make a connection to the
database created in Step-1.3
1
https://datatofish.com/database-sql-server/
2
https://datatofish.com/table-sql-server/
3
https://docs.microsoft.com/en-us/sql/connect/sql-connection-libraries?view=sql-server-ver15
drill down on total sales by item name
drill down on total sales by street address
Step-6: Use SQL statements to implement each roll-up, drill-down. For example, the following query will
drill down on total sales by street address:
Step-7: Implement a simple user interface (CLI or GUI) to allow activation of each of the interactions
mentioned in Step-5
Step-8: Display the results in the form of table. Usage of bar graphs will give you 20% bonus points (2
marks).