Database collection of related information stored in an organized form Database program software tool for storage & retrieval of that information.

Slides:



Advertisements
Similar presentations
Microsoft Access.
Advertisements

MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
1 Chapter 1 & 2 Relational Databases and Queries CS101 WVU.
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Access - Project 1 l What Is a Database? –A Collection of Data –Organized in a manner to allow: »Access »Retrieval »Use of That Data.
Exploring Office Grauer and Barber 1 Tables and Forms: Properties, Views, and Wizards(Wk3)
Exploring Microsoft Access 2003 Chapter 1 Introduction to Microsoft Access: What Is A Database?
Database A collection of related information stored on a computer and organized in a manner that allows access, retrieval, and use of that data.
Introduction to Databases CIS 5.2. Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
QUERYING A DATABASE By: Dr.Ennis-Cole. OBJECTIVES: Learn how to use the Query window in Design view Create, run and Save queries Define a relationship.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
Management Information Systems MS Access 2003 By: Mr. Imdadullah Lecturer, Department of M.I.S. College of Business Administration, KSU.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
Microsoft Access 2000 Creating Tables and Relationships.
With Microsoft Office 2007 Intermediate© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Office 2007 Intermediate.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 4 – Creating New.
With Microsoft Access 2007 Volume 1© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Access 2007 Volume 1 Chapter.
Primary & Foreign Keys. PK & FK 1.Primary key is required 2.The PK must be unique 3.If the primary key from one table is related to a field in another.
Access 2007 Database Application Managing Business Information Effectively BCIS 1 and 2.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Access Tutorial 2 Building a Database and Defining Table Relationships
XP Chapter 2 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Building The Database Chapter 2 “It is only the farmer.
Exploring Office Grauer and Barber 1 Introduction to Access: What is a Database?(Wk1)
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Created by: Tanya Morgan.  Access is the database software of the Microsoft Office suite.  A database is a collection of objects that work together.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
DATABASE DESIGN USING MICROSOFT ACCESS. What is a Database?  DMS Database management system  Database Collection of data organized in a manner that.
Exploring Microsoft Access 2003 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. ACCESS 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 9 – Building Links,
Key Applications Module Lesson 21 — Access Essentials
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Access Chapter 2: Relational Database Objectives Design data Create tables Understand table relationships Understand data types, key, & field properties.
MS Access 2007 Management Information Systems 1. Overview 2  What is MS Access?  Access Terminology  Access Window  Database Window  Create New Database.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Using Microsoft Access 56:150 Information System Design.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
Microsoft Office Illustrated Introductory, Premium Edition Using Tables and Queries.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 1 BACKNEXTEND 1-1 LINKS TO OBJECTIVES Create and Open a Database Create and Open a Database.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 1- Introduction to Access: What is a Database? Robert Grauer and Maryann Barber Exploring.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
Unit 5, Lesson 1 Working with Databases. Objectives Identify the parts of the Access screen. Identify the parts of the Access screen. Understand the purpose.
McGraw-Hill/Irwin © The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T6 Basic Skills Using Access.
A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2.
Access  Getting Started  Creating Tables  Designing Tables Worksheet #8.
McGraw-Hill/Irwin The O’Leary Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Access 2002 Lab 1 Creating a Database.
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.
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
Microsoft Office 2013: In Practice Chapter 2 Using Design View, Data Validation, and Relationships Copyright © 2014 by The McGraw-Hill Companies, Inc.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT ACCESS Lesson 4 – Finding and Ordering Data.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards.
Work with Tables and Database Records Lesson 3. NAVIGATING AMONG RECORDS Access users who prefer using the keyboard to navigate records can press keys.
Pasewark & Pasewark 1 Access Lesson 2 Creating a Database Microsoft Office 2007: Introductory.
Database design Using Access 2007
MSOffice Access Microsoft® Office 2010: Illustrated Introductory 1 Part 1 ® Database & Table.
VOCAB REVIEW. A field that can be computed from other fields Calculated field Click for the answer Next Question.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
Microsoft Office Illustrated Introductory, Windows XP Edition
Grauer and Barber Series Microsoft Access Chapter Two
Chapter 2 Design Table and Form.
Chapter 2 Design Table and Form.
Presentation transcript:

Database collection of related information stored in an organized form Database program software tool for storage & retrieval of that information.

Data is held in tables Record: one row in a a table Field: columns that each record is divided into Filing cabinet analogy Database Table Record Field (ABC Inc.) (Customers) (cust#78) (last name) Database Terminology

EMPLOYEE TABLE Last First Work Id Name Name Station 001 Smith Joan A 002 Jones Paul A 003 Doe John B 004 Black Jason A WORK STATION TABLE Work Make and Operating Station Model System A IBM-153 MS B DELL-A14 Linux A IBM-153 MS A HP-A919 MS EMPLOYEEWORK STATION 11 Relational Database one-to-one relationship table record key each employee has one workstation

DEPARTMENT TABLE Id Name AR Accounts Receivable IT Information Technology HR Human Resources MF Manufacturing EMPLOYEEDEPARTMENT *1 Relational Database one-to-many relationship EMPLOYEE TABLE Last First Id Name Name Department 001 Smith Joan IT 002 Jones Paul MF 003 Doe John IT 004 Black Jason HR key a department has many employees an employee works in one department

Relational Database many-to-many relationship STUDENT TABLE Last First Id Name Name 001 Green Jack 002 Black Millie 003 Taylor Peter 004 Trane Oscar COURSE TABLE Id Name ASTB03 Astronomy CSCA02 The Why and How... CSCA48 Programming MTGA04 Management ENROLMENT TABLE Student Course 001 CSCA MTGA CSCA CSCA STUDENTCOURSE * 1 ENROLMENT * 1 key a course has many students a student takes many courses

Flat vs Relational Flat database system that performs operations on a single file Relational database system that has a number of different tables, which may be linked together by common fields

Flat Suppose you want to store information about books and their authors 1 st Solution:

both solutions: replication & data accuracy problems, wastes space, data retrieval problems Flat 2nd Solution:

Correct solution uses 2 linked tables author’s name common to both tables one-to-many relationship Relational ∞ 1

Primary Key Every table should have a primary key –must be unique –prevents duplicates –maintains sort order (table index) –used to define relationships –may be a combination of several fields GoodBad SINLast Name Employee IDAddress Account #Dept ID User IDJob Title any item that could be duplicated

RecordField value Database Terminology this is an Access Table:

primary key (every table needs one) is used for sorting the table accessing individual records linking tables

Form for entering records into a Table

example of a Query on one Table

similar Query but showing only failing marks

similar Query, now modified to include name and address from another Table

example of a Report based on a Table

example of a Report based on a Query

MS Access Environment Database Window Menu Bar Toolbar Object Buttons tables wizards Status Bar

Using Table Wizard Designing a table yourself (using Design view)  field names  data types  primary key  properties Views: Datasheet or Design  enter data using the Datasheet view Creating a Table

Design View Primary Key Field Properties Data Type Description Field Names

Data Types Text Memo Number Date/Time Currency AutoNumber Yes/No OLE Object Hyperlink

Properties Field size Format Input Mask Caption Default Value Validation Rule Validation Text Required Allow Zero Length Indexed

Currently selected record: editing  saved Datasheet View Use to add, edit, or delete records Total records Number of current record End

Relationships  Create a 1-to-many relationship between the CustomerID fields Tools  Relationships…

Relationships  a CustomerID can appear once in Customers and many times in Invoices  a CustomerID in Invoices must be in Customers One-To-Many relationship (Join)

Relationships Enforcing Referential Integrity causes an error message if a CustomerID not in the Customers table is entered

Indexes Examine indexes set up for database –make it faster to search a table –should be set up if searching on a field is anticipated Note: indexing refers to how data is stored, whereas sorting changes how the table is displayed.

Create a Form: wizard Form view

Form: Design view drag Toolbox sizing handles

Form: complex example Command Button Label Text Box (bound to field) Each page shows one record