This action might not be possible to undo. Are you sure you want to continue?
From the list below make 4 selections for your next 4 assignments. Assignments #3 and #4 due Mar 18, 2010 Mar 22, 2010 #5 and #6 due Apr 5, 2010 All SQL scripts and views must be commented to aid readability. All queries used to display results must be coded as SQL views. When describing an ETL process, consider using a UML activity diagram.
Feb 26, 2010
1. Implement the employee hierarchy using a bridge table in your Northwind Dimensional database (for the reports to relationship). Develop queries to test your implementation. 2. Implement an application to maintain the hierarchy bridge table. That is, an application that allows one to insert and delete nodes in the hierarchy. Ease of use by the end-user is important here. 3. Implement the employee hierarchy using nested sets in your Northwind Dimensional database (for the reports to relationship). Develop queries to test your implementation. 4. Implement an application to maintain the employee hierarchy where the implementation is based on nested sets. That is, an application that allows one to insert and delete nodes in the hierarchy. Ease of use by the end-user is important here. 5. Implementation of value-banding (p 207++) in your Northwind dimensional database. You must generate meaningful queries that access the facts in different ways, with and without the banding table. 6. Create the dimensional database shown in Figure 9.5 including the fact table, Date dimension, Account dimension and Transaction Type dimension. Load the dimension and fact tables with sample data. Create an SQL view that implements the code shown on page 209. 7. Figure 8.7 shows an HR survey schema. Adapt this idea for the course evaluations that are done at the UofW. You need to provide sample data. You need to develop some queries to show how the data can be utilized. 8. Using the same database as for Assignment 2, develop an SQL script to maintain a Type 3 dimension. Develop queries that can be used to test your implementation. You must include a description of the ETL process.
You must show that your new database yields the same results for the queries that were part of Assignment 1. For this exercise you create an ER/Studio logical model (dimensional not relational). Create views for each that allow us to list the employees with at least one of two skills. 11.9. and the dimensions of ShippedDate. b) The Product dimension by creating a Category dimension. Customer. We say that OrderDate is collapsed to OrderMonth. Category. 10. and you get ER/Studio to create the physical database and its tables.e. 13. 15. shipped date was null and is given a value). Using your work from #12 or #13. 14. create an aggregate fact table that holds metrics such as quantity and dollar value. You capture pertinent source records using a technique from Assignment 2. You capture pertinent source records using a technique from Assignment 2. 16. and where the dimensions are OrderMonth. Create the database required for Figure 8. Create two queries that answer the same question.6 on page 197 (delimited skills list dimension outrigger).5 on page 195 (skills group keyword dimension outrigger) and for Figure 8. but where one uses the base schema and the other uses the aggregate schema. You must include a description of the ETL process. Product is collapsed to Category.3. Create two mini-dimensions in the database you created for Assignment 1: a) Category as a mini-dimension b) Month as a mini-dimension You must show that your new database yields the same results for the queries that were part of Assignment 1. A fact is updated when the shipped date is assigned a value (i. Provide reasonable test data. Supplier. Implement ETL to update the fact table in your Assignment 2 database when new order detail lines have been added to the source database. See next page . Normalize two dimensions from Assignment 1: a) The Date dimension by creating a Month dimension. and Order are lost. but there will be no rows to insert…. an ER/Studio physical model. Insert sufficient data in your database for testing purposes. Use ER/Studio to create the dimensional database of Assignment 1. We should be able to find multiple employees with Unix or Linux skills. Employee. A new fact must be related to the most recent type 2 dimension record for the pertinent entity. Implement ETL to update existing facts in your Assignment 2 database. You must include a description of the ETL process 12. Implement the design in Figure 9. Provide a view that will list a customer and the January month ending balance of each account he/she is associated with.
. It is recommended that you choose IE(crow’s feet) for the model’s notation. b) Generate a physical model from the logical model. i. 2.Using ER/Studio you : a) Develop a logical model that is a dimensional model. For each dimension you add attributes: 1. This model comprises a Fact entity type and several Dimension Entity types. c) Generate a database from the physical model through a connection to SQL Server. The Fact entity type has attributes defined for its metrics. You will see the FKs automatically placed in the Fact entity. ii. Others as required iii. A primary key attribute that is of data type int and is an identity column. Between the Fact and Dimensions you create identifying one-tomany relationships.