Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity.

Slides:



Advertisements
Similar presentations
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Advertisements

Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
Chapter 17 Designing Databases
Chapter 12 Database Connectivity with ASP.NET JavaScript, Third Edition.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Software Application
Database Relationships Objective 5.01 Understand database tables used in business.
Databases Creating databases to store information.
Database Relationships Objective 5.01 Understand database tables used in business.
IST Databases and DBMSs Todd S. Bacastow January 2005.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
1 Microsoft Access 2002 Tutorial 3 – Querying a Database.
Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall 9.1.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
MICROSOFT ACCESS 2007 BTA – Spring What is Access?  Microsoft Access is a database management system…this means that it contains database information.
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
Chapter 1 Overview of Database Concepts Oracle 10g: SQL
1 Chapter 1 Overview of Database Concepts. 2 Chapter Objectives Identify the purpose of a database management system (DBMS) Distinguish a field from a.
Concepts and Terminology Introduction to Database.
IE 423 – Design of Decision Support Systems Data modeling and database development.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
Introduction to Microsoft Access Overview 1. Introduction What is Access? A relational database management system What is a Relational Database? Organized.
CHAPTER 8: MANAGING DATA RESOURCES. File Organization Terms Field: group of characters that represent something Record: group of related fields File:
Lecture 2 An Overview of Relational Database IST 318 – DB Admin.
RELATIONSHIPS Generally there are two main database types: flat-file and relational.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
Introduction to Databases Trisha Cummings. What is a database? A database is a tool for collecting and organizing information. Databases can store information.
Copyright © 2005 Ed Lance Fundamentals of Relational Database Design By Ed Lance.
Instructor: Dema Alorini Database Fundamentals IS 422 Section: 7|1.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
Press Esc to Exit ©2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Chapter 1Introduction to Oracle9i: SQL1 Chapter 1 Overview of Database Concepts.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
ITGS Databases.
1 Database Systems Introduction to Microsoft Access Part 2.
INFORMATION TECHNOLOGY DATABASE MANAGEMENT. Adding a new field 1Right click the table name and select design view 2Type the field information at the end.
Access Review. Access Access is a database application A database is a collection of records and files organized for a particular purpose Access supports.
Chapter 13 Designing Databases Systems Analysis and Design Kendall & Kendall Sixth Edition.
Relational Theory and Design
GIS Data Models GEOG 370 Christine Erlien, Instructor.
Programming Logic and Design Fourth Edition, Comprehensive Chapter 16 Using Relational Databases.
Database Management Supplement 1. 2 I. The Hierarchy of Data Database File (Entity, Table) Record (info for a specific entity, Row) Field (Attribute,
Lesson 2: Designing a Database and Creating Tables.
BSA206 Database Management Systems Lecture 2: Introduction to Oracle / Overview of Database Concepts.
IS 320 Notes for April 15, Learning Objectives Understand database concepts. Use normalization to efficiently store data in a database. Use.
IST 220 – Intro to Databases Lecture 2 Touring Microsoft Access.
Understand Relational Database Management Systems Software Development Fundamentals LESSON 6.1.
Chapter 1 Introduction to Database. Database Concept Field: a basic data element or attribute of an object Record: a set of fields Table: a set of records.
Database Relationships Objective 5.01 Understand database tables used in business.
Microsoft Access 2010 Chapter 11 Database Design.
Microsoft Access CS 110 Fall Entity Relationship Model Entities Entities Principal data object about which information is to be collectedPrincipal.
Database Planning Database Design Normalization.
XP Chapter 1 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Level 2 Objectives: Understanding and Creating Table.
IST 220 – Intro to Databases
Databases and Information Management
Databases and Information Management
Chapter 17 Designing Databases
Query-by-Example Transparencies
Presentation transcript:

Page 1 ISMT E-120 Introduction to Microsoft Access & Relational Databases The Influence of Software and Hardware Technologies on Business Productivity

Page 2 The Basics – Database, Query & Entity Relational Databases Database Design Entity Relationship Analysis Database Objects Create a Database Normalization Introduction to Microsoft Access & Relational Databases

Page 3 The Basics – Database, Query & Entity Relational Databases Database Design Entity Relationship Analysis Database Objects Create a Database Normalization Introduction to Microsoft Access & Relational Databases

Page 4 Database Basics 1.Database is made up of 1 or more tables containing data 2.Tables have fields, also called columns 3.Tables have rows, also called records 4.Record is a set of fields in a row

Page 5 Query Basics Query means get data from which fields from which rows Query Engine o Connects database to a data source o Allows us to choose from tables or queries saved in database Access o Use a design grid to create queries o Drag-and-drop or write SQL

Page 6 Entity Basics Key concept – types of info in the database What are they? o Subject of the database o Subject of each table o Nouns (person, place, thing) o Important topics o Unique representation of a single real- world object

Page 7 Examples of Entities Grade Database o Instructors o Classes o Assignments o Students o Enrollments o Results o Grades Music Collection Database o Music genres o Music mediums o Artists o Song Titles o Instruments o Year recorded

Page 8 Introduction to Microsoft Access & Relational Databases The Basics – Database, Query & Entity Relational Databases Database Design Entity Relationship Analysis Database Objects Create a Database Normalization

Page 9 What is a Relational Database? A database is made up of tables Relationships link tables together Simple database = 1 subject Complex database = many subjects 1 subject = 1 entity per table

Page 10 Table Relationships Use verbs to describe a relationship between tables/entities/subjects Linkages Types of relationships  one-to-one  one-to-many**  many-to-many **Most common and almost always best

Page 11 Examples of Relationships Instructors Teach Classes Students Enroll in Classes Classes Require Assignments Students Submit Assignments Students Receive Results

Page 12 Introduction to Microsoft Access & Relational Databases The Basics – Database, Query & Entity Relational Databases Database Design Entity Relationship Analysis Database Objects Create a Database Normalization

Page 13 Designing Databases Understand the application you’re building Identify data elements

Page 14 Design: Understand the Business Application Document sequence of steps Map information flows Identify decision points View from user or audience perspective

Page 15 Design: Identify Data Elements Might use: Manual Input Forms Reports Interviews General Knowledge

Page 16 Introduction to Microsoft Access & Relational Databases The Basics – Database, Query & Entity Relational Databases Database Design Entity Relationship Analysis Database Objects Create a Database Normalization

Entity Relationship Analysis 1.Identify distinct, relevant entities; name them and identify a primary key 2.Determine relationships between entities – describe them as verbs in whole sentences; create new entities as needed 3.Add appropriate attributes to entities; if an attribute has repeating values, create a new entity with a 1-to-many relationship Page 17

Entity Relationship Analysis Refer to ERA handout Page 18

Page 19 Introduction to Microsoft Access & Relational Databases The Basics – Database, Query & Entity Relational Databases Database Design Entity Relationship Analysis Database Objects Create a Database Normalization

Page 20 Database Objects Tables Queries Forms Reports Macros Others Build a database

Page 21 Tables One Table, One Entity/Topic/Subject Base or reference tables Made up of fields/attributes Must have a primary key Same key in more than one table to link them – primary key in one table and foreign key in second table

Page 22 Queries Types of Queries Select - get data out (view, export …) Append – add data to existing table Update - change existing data Delete - delete data SQL does the work

Page 23 Writing Queries Choose Tables Choose Fields Sort Filter with Criteria Use Parameters

Page 24 Forms Customary user interface Base on a table or query Forms help users to: o View data o Insert data o Update data o Delete data

Page 25 Creating Forms Based on tables Walk through table one row at a time Based on queries More powerful Manage data from several tables at once Use form wizard or design palette

Page 26 Reports Presents data in an easy to read, attractive manner Can be based on a table or query Format query results One query can be used for multiple reports One report can be made from multiple queries

Page 27 Creating Reports Can be based on tables Can be based on queries More powerful Link several tables at once Select fields Add calculations, etc.

Page 28 Macros Stored Sequence of Operations Can be executed any time Easy to use interface to create them

Page 29 Introduction to Microsoft Access & Relational Databases The Basics – Database, Query & Entity Relational Databases Database Design Entity Relationship Analysis Database Objects Create a Database Normalization

Page 30 Create An Access Database What’s the topic/subject/entity of the database? Define Tables and Keys

Page 31 Create An Access Database Establish Relationships –Link All Tables –Database Tools  Relationships… –Relationship Properties –Relationships Carry Over to Queries

Page 32 Create An Access Database Create queries for use with forms and reports Develop forms Write reports

Page 33 Introduction to Microsoft Access & Relational Databases The Basics – Database, Query & Entity Relational Databases Database Design Entity Relationship Analysis Database Objects Create a Database Normalization

Page 34 What is Normalization? Process to Eliminate Redundancy Group Data Items into Manageable Collections Verify Completeness of Data

Page 35 Benefits of Normalization Easier to Maintain Information Easier to Query Database Extensible Design Promotes Data Integrity

Page 36 Normalization: Step 1 List Every Data Item in One Table Columns/fields Rows/records 1 Cell = 1 Piece of Data Add Duplicate Information as Needed Find or Create a Primary Key A field or combination of fields uniquely identifying each row This is First Normal Form

Page 37 Normalization: Step 2 Which Keys Determine Which Fields? Functional dependencies One key value determines one field value May be > 1 Set of Keys Break Into Separate Tables According to Functional Dependencies This is Second Normal Form

Page 38 Normalization: Step 3 Look for Functional Dependencies Among Non-Key Fields Remove Any Dependent Non-Key Fields Make Sure No Loss of Information i.e., fields should be in some other table Third Normal Form

Page 39 Normalization Sanity Check Make Sure No Information Lost Make Sure Tables “Connect” One-to-one One-to-many NOT many-to-many Make Sure Keys are Unique Referential Integrity