Decision Analysis Fall Term 2015 Marymount University School of Business Administration Professor Suydam Week 10 Access Basics – Tutorial B; Introduction.

Slides:



Advertisements
Similar presentations
Microsoft® Access® 2010 Training
Advertisements

Introduction to Microsoft Access
Jeopardy Objects Navigation Buttons True/False Parts of a Report Vocabulary Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400 Q $500 Final.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2010 Version) Implementing.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2010 Version) Implementing.
Access Tutorial 1 Creating a Database
The Relational Database Model:
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Chapter Extension 6 Using Microsoft Access © 2008 Pearson Prentice Hall, Experiencing MIS, David Kroenke.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
Using ER/Studio.
Microsoft Access – Tutorial 1 if you need to review general Microsoft Office procedures such as: menus toolbars task panes files help printing please go.
Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.
Access Ch 5 Review.
Tutorial 1 Creating a Database. Objectives Learn basic database concepts and terms Learn basic database concepts and terms Explore the Microsoft Access.
Advanced Tables Lesson 9. Objectives Creating a Custom Table When a table template doesn’t suit your needs, you can create a custom table in Design view.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
CPSC 203 Introduction to Computers T59 & T64 By Jie (Jeff) Gao.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Chapter 6 Advanced Report Techniques
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
Microsoft Access Data Base Application. A Few Terms Database – A collection of related information. Database – A collection of related information. Field.
PHP meets MySQL.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 3 Analyzing Data and Creating Reports.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Database Normalization Lynne Weldon July 17, 2000.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Access 2013 Microsoft Access 2013 is a database application that is ideal for gathering and understanding data that’s been collected on just about anything.
Microsoft Access You will need a pen/pencil.. What is Microsoft Access? Access is a database management system.  Create a database, add/change delete.
Database Systems Microsoft Access Practical #1 Creating Tables Nos 215.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Database Systems Microsoft Access Practical #3 Queries Nos 215.
McGraw-Hill/Irwin © 2008 The McGraw-Hill Companies, All Rights Reserved Plug-In T6: Basic Skills and Tools Using Access 2010 Business Driven Technology.
CSC 240 (Blum)1 Forms and Importing Data in Access.
Microsoft Access 2007 Tutorial (Part II) CIS*1000*DE.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
Database Applications – Microsoft Access Lesson 1 Introduction 26 Slides in Presentation Updated 8/12.
XP New Perspectives on Microsoft Access 2002 Tutorial 1 1 Microsoft Access 2002 Tutorial 1 – Introduction To Microsoft Access 2002.
® Microsoft Office 2013 Access Creating a Database.
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Course ILT Forms and queries Unit objectives Create forms by using AutoForm and the Form Wizard, and add or modify form headers and footers Open and enter.
McGraw-Hill/Irwin ©2005 The McGraw-Hill Companies, All rights reserved ©2005 The McGraw-Hill Companies, All rights reserved McGraw-Hill/Irwin.
O FFICE M ANAGEMENT T OOL - II B BA -V I TH. Abdus Salam2 Week-7 Introduction to Query Introduction to Query Querying from Multiple Tables Querying from.
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/Programs/Microsoft Office/Microsoft Office.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
CSC 240 (Blum)1 Introduction to Access CSC 240 (Blum)2 Click on the Access desktop icon or go to Start/All Programs/Microsoft Office/Microsoft Office.
Creating a Database Angelo Lafratta- Website: Search: Keith Valley Physical.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
CPSC 203 Introduction to Computers T97 By Jie (Jeff) Gao.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module J (Office 2007 Version) Implementing.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
Access Queries and Forms. Adding a New Field  To insert a field after you have saved your table, open Access, and open the table  It is easier to add.
COMPREHENSIVE Access Tutorial 1 Creating a Database.
Decision Analysis Fall Term 2015 Marymount University School of Business Administration Professor Suydam Week 9 Access Basics, Tutorials A & B.
Understanding Data Storage
Access Tutorial 1 Creating a Database
Introduction to Microsoft Access
Access Creating a Database
Access Creating a Database
Access Tutorial 1 Creating a Database
Relational Database Model
Access Tutorial 1 Creating a Database
Access Tutorial 1 Creating a Database
Relationships While we are on the subject of Relationships, let’s take a quick look at them.
Presentation transcript:

Decision Analysis Fall Term 2015 Marymount University School of Business Administration Professor Suydam Week 10 Access Basics – Tutorial B; Introduction to Visio; Normalization

Objectives for Week Discussion – All Visio Introduction – Creating a Final Project Plan Schedule VTC Chapters 7-9 Review/Discussion – identify most important sections Tutorial B – Review Tables & Queries; Complete Forms and Reports Database Planning Relational Model and Normalization 10-2

10-3

10 -4

10 -7

To represent a relationship between two tables, we place the primary key (PK) of the first table in the second table. Then this attribute in the second table is called foreign key (FK). 10-6

10 -7 Query1 (pages 17-20) (B-14) Design View Datasheet View SQL View Query2 (pages 20-21) )(B-17) Design View Datasheet View SQL View

10 -8 Query3 (pages 21-22) (B-19) Design View Datasheet View Query4 (pages 22-24) (B-23) Design View Datasheet View

10 -9 Query5 (B-29) & Query6 (B-32) (pages 25-27) Design View Datasheet View Query7 (B-34) (pages 27-28) Design View Datasheet View

Query8 (B-38) (pages 28-29) Design View Datasheet View

Query9 (B-41) & Query10 (B-44) (pages 29-32)

Query11 (B-46) (pages 32-33)

10-13 When you base a form on one table, you simply select the table, click the Create tab, and then select Form from the Forms group. The form will then contain only the fields from that table. When data is entered into the form, a complete new record is automatically added to the table. To create the form and subform, first create a simple one- table form on the Employee table. Follow these steps: 1.Click once to select the tblEmployee. Click the Create tab, then click Form in the Forms group. 2.To add the subform, take the form into Design view. On the Design tab, make sure that the Use Control Wizards option is selected, scroll to the bottom row of buttons in the Controls group, and click the Subform/Subreport button 3.Use your cursor to stretch out the box under your main form. You might need to expand the area beneath the main form. 4.Select Use existing Tables and Queries, click Next, and then select tblHoursWorked from the Tables/Queries drop-down list. Select all available fields. Click Next, select Choose from a list, click Next again, and then click Finish. Select the Form view. Save as frmEmployee.

10-14 Create a report from the Hours Worked table. Select the table by clicking it once. Click the Create tab, then click Report in the Reports group. A report appears. On the Design tab, select the Group & Sort button in the Grouping & Totals group. Click the “Add a group” button at the bottom of the report, and then select EmployeeID. To complete this report, you need to total the hours for each employee by selecting the Hours column heading. On the Design tab, click theTotals button in the Grouping & Totals group, and then choose Sum from the menu Rename object as rpt HoursWorked

10-15 System Definition (Webster’s Dictionary): a group of related parts that move or work together. Requirements Collection - This is the stage in the design cycle when you find out everything you can about the data the client needs to store in the database and the conditions under which that data needs to be accessed. Database Design involves identifying the existing relationships between separate pieces of data and mapping out those relationships in an organized way that makes sense. There are several types of database design: conceptual database design, logical database design, and physical database design. Conceptual Database Design - This step involves; Constructing the ER Model, Checking the model for redundancy, Validating the model against user transactions to ensure all the scenarios are supported Logical Database Design - This step involves: Table Generation From ER Model and Normalization of Tables Physical Database Design - This step involves describing the base relations, file organizations, and indexes design used to achieve efficient access to the data, and any associated integrity constraints and security measures.

1NF is the most basic of normal forms - each cell in a table must: contain only one piece of information, and there can be no duplicate rows. 2NF and 3NF are all about being dependent on the primary key. Recall that a primary key can be made up of multiple fields. One important thing to remember is that if something is not in 1NF, it is not in 2NF or 3NF either. So each additional Normal Form requires everything that the lower ones had, plus some extra conditions, which must all be fulfilled

2NF - Say you have a table containing courses that are taken in a certain semester, and you have the following data: This is not in 2NF, because the fourth column does not rely upon the entire key - but only a part of it. The course name is dependent on the Course's ID, but has nothing to do with which semester it's taken in. Thus, as you can see, we have duplicate information - several rows telling us that IT101 is programming, and IT102 is Databases. So we fix that by putting the course name into another table, where CourseID is the ENTIRE key

3NF - Let's say we also add the name of the teacher of the course, and some details about them, into the RDBMS: Now it should be obvious that TeacherName is dependent on TeacherID - so this is not in 3NF. To fix this, we do much the same as we did in 2NF - take TeacherName out of this table, and put it in its own, which has TeacherID as the key. No redundancy!! 10-18

Required data Some attributes must always contain a valid value –no nulls Example: every employee has a staff number and a position title! If missing –do not enter it into the database, period! Attribute domain constraints - What do you mean you want to enter a “N/A” code for the attribute “Gender”? Entity integrity - NO, repeat, NO records should have a null in the primary key 10-19