Presentation is loading. Please wait.

Presentation is loading. Please wait.

Database & Data Warehouse Assignments BCIS 4660 – Dr. Nick Evangelopoulos Spring 2012.

Similar presentations


Presentation on theme: "Database & Data Warehouse Assignments BCIS 4660 – Dr. Nick Evangelopoulos Spring 2012."— Presentation transcript:

1 Database & Data Warehouse Assignments BCIS 4660 – Dr. Nick Evangelopoulos Spring 2012

2 BCIS 4660 – Spring 2012 Exercise #1 Due: Jan 26 for full credit, Feb 2 for 50% credit Points: 10 points Pratt & Adamski; End of Chapter 1; pp 29-30 Assignments must have your name on the 1st page. Use ACCESS 2010 to write the appropriate query, form, report or filter to answer even-numbered questions for Premiere Products (2-10) and Henry Books (2-12). Turn-in printouts of the datasheet, filtered- datasheet, or report and the related query (as appropriate), which shows the answer to the query posed. Screen prints may be used, if necessary. NOTE: For this assignment, use of Access is optional. You can just do it manually using Excel.

3 Objectives Introduce Premiere Products, the company that is used as the basis for many of the examples throughout the text Introduce Henry Books, the company that is used in the case that runs throughout the text

4 Premiere Products Distributor of appliances, housewares, and sporting goods Uses spreadsheet software to maintain important data Recent growth has made the spreadsheet approach problematic: –Redundancy –Difficulty accessing data –Limited security –Size limitations

5 Introduction to Henry Books Database Case Book store chain operated by Ray Henry Henry decided to use database to gather and store information on: –Branches –Publishers –Authors –Books

6 Concepts of Database Management, 7th Edition, Pratt & Adamski Access Relationship Diagram [ERD] Premiere Products Order Transaction Customer Table Product/Part Table SalesRep Table “Intersection” Table M:N 1:M 1:N N:1

7 Concepts of Database Management, 7th Edition, Pratt & Adamski Using DBMSs in Different Ways Figures 1.8 and 1.9 Database Server: Raw Data Extraction Stored Applications “Apps”

8 Concepts of Database Management, 7th Edition, Pratt & Adamski Building a Database Database design determines the structure of a database Design entered into DBMS during Construction/Implementation (sequence #) 1.Tables or Relations (Data) –Application Programs (Apps)—e.g., ACCESS 2.Queries or Views (Schema or Subset of Database)!! 3.Forms (Input/Output Data Application) 4.Reports (Report Application) 5.Switchboards (Menu Application)

9 Concepts of Database Management, 7th Edition, Pratt & Adamski Part and Order Forms Figures 1.10 and 1.11

10 Concepts of Database Management, 7th Edition, Pratt & Adamski Parts Report Figure 1.12

11 Problem 1-1 Helpful Hints: Datasheet viewDesign/QBE View Concepts of Database Management, 7th Edition, Pratt & Adamski 1.1 List the names of all customers that have a credit limit less than $10,000.

12 Concepts of Database Management, 7th Edition, Pratt & Adamski Exercises #1 Due: Sep 6 (Tu) Points: 10 points Pratt & Adamski; End of Chapter 1; pp 29-30 YOU MUST USE 2010 ACCESS TO COMPLETE EXERCISE Assignments must have cover sheet below. Use ACCESS to write the appropriate query, form, report or filter to answer ALL even-numbered questions for Premiere Products and Henry Books. Turn-in printouts of the datasheet, filtered-datasheet, or report and the related query (as appropriate), which shows the answer to the query posed along with the QBE grid that produced the result. Screen prints may be used, if necessary.

13 Concepts of Database Management, 7th Edition, Pratt & Adamski BCIS 4660 Decision Systems Design Homework Assignment #1 Score sheet (10 points)

14 Previewing and Printing the Contents of a Table Microsoft Office 2007: Introductory Concepts and Techniques - Windows Vista Edition14 Office Button Help Button Shutter Bar Ruler Bar

15 Using Simple Query Wizard to Create a Query Microsoft Office 2007: Introductory Concepts and Techniques - Windows Vista Edition 15

16 Example of A Homework Solution Sample Set (3 parts) SQL View (alt-PrintScrn) SELECT Customer.CustomerName, OrderLine.OrderNum, OrderLine.PartNum, Part.Description, OrderLine.NumOrdered, OrderLine.QuotedPrice, Part.Warehouse, Rep.RepNum FROM Rep INNER JOIN (Part INNER JOIN ((Customer INNER JOIN Orders ON Customer.CustomerNum = Orders.CustomerNum) INNER JOIN OrderLine ON Orders.OrderNum = OrderLine.OrderNum) ON Part.PartNum = OrderLine.PartNum) ON Rep.RepNum = Customer.RepNum ORDER BY Customer.CustomerName, OrderLine.OrderNum, OrderLine.PartNum; Microsoft Office 2007: Introductory Concepts and Techniques - Windows Vista Edition 16 QBE/Design View (alt-PrintScrn) Datasheet View (print)

17 Pause: Q&A Concepts of Database Management, 7th Edition, Pratt & Adamski Access … SQL View Or QBE View Alt-PrintScrn  Ctrl-V (paste) PowerPoint or Paint (to edit)

18 Exercise #2 Due: Feb 2 for full credit, Feb 9 for 50% credit Points: 10 points Pratt & Adamski; pp 68-70 (end of chapter 2) Assignments must have cover sheet with your name. Use ACCESS to write the appropriate query, form, report or filter to answer QBE questions 2, 4, 6, 8, 10, 12 for Premiere Products and QBE questions 14, 16, 18 & 19 for Henry Books. NOTE: Make a copy of the Premiere Products and Henry Books database from the end of Chapter 1 BEFORE starting this assignment. Turn-in printouts of the datasheet, or report and the related query (as appropriate), which shows the answer to the query posed along with the QBE grid that produced the result. Screen prints may be used, if necessary. Show only the attributes each question asks for. Do not show any extra attributes!

19 Exercise #3 Due: Feb 9 for full credit, Feb 16 for 50% credit Points: 20 points Pratt & Adamski (End of Chapters 3 & 4) Assignments must have cover sheet with your name. Chapter 3 [pp 115-116]: Use ACCESS to write the appropriate SQL query to answer questions 2, 4, 6, 8, 14, 15 for Premiere Products and questions 5, 7, 12, 19 for Henry Books. Chapter 4 pp 150-152]: Use ACCESS to write the appropriate SQL query to answer questions 2, 4, 7 for Premiere Products and questions 2, 4, 10 for Henry Books (1 bonus question included). NOTE: USE the copy of the Premiere Products and Henry Books database from the end of Chapter 1 [the version you had BEFORE starting Exercise 2]. Turn-in printouts of the datasheet, or report and the related query (as appropriate), which shows the answer [datasheet view, table view, etc.] to the query posed along with the SQL query that produced the result. Screen prints may be used, if necessary.

20 Exercise #4 Due: Feb 23 for full credit, Mar 1 for 50% credit Points: 20 points Pratt & Adamski (End of Chapters 5 & 6) Assignments must have cover sheet with your name. Chapter 5 [pp 174-175]: Answer questions 1, 2, 3 for Premiere Products and questions 2, 4 for Henry Books. Omit 4NF, answer the questions for 3NF. Chapter 6 pp [221-222]: Answer questions 2, 4 for Premiere Products and questions 1, 2, 3 for Henry Books. Turn in ERD and copies of new tables and attributes. (Alternatively, use DBDL.)


Download ppt "Database & Data Warehouse Assignments BCIS 4660 – Dr. Nick Evangelopoulos Spring 2012."

Similar presentations


Ads by Google