Introduction to Database Concepts and Microsoft Access 2003

Slides:



Advertisements
Similar presentations
Build a database I: Design tables for a new Access database
Advertisements

Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
UNIVERSITY OF PALESTINE business computer application College of Business Instructor: Mr. Ahmed Abumosameh.
Start First step Create a new blank database Create a database using the option that will enable you to build your database using pre-set options. Save.
Create a new blank database First step SUBMITTry again.
DataInformationKnowledgeAction  Data – a collection of facts made up of text, numbers and dates: Murray /18/86  Information - the meaning given.
 Use to clarify, not obfuscate  Be gentle on the eyes  Need to print?  Use differentiable colors and symbols.
Database Software Application
Business Computer Information Systems Microsoft Office XP Access Review Lessons 1 through 5.
Introduction to Databases. Data vs. Information u Data – a collection of facts made up of text, numbers and dates: Murray /18/86 u Information.
Introduction to Database Concepts and Microsoft Access 2010 Academic Health Center Training (352)
Introduction to database systems
Microsoft Access Understanding Relationships Academic Health Center Training (352)
Microsoft Access Data Base Application. A Few Terms Database – A collection of related information. Database – A collection of related information. Field.
HSC IT Center Training University of Florida Introduction to Database Concepts and Microsoft Access.
Relational Databases (MS Access)
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.
Chapter 17 Creating a Database.
HSC IT Center Training University of Florida Introduction to Database Concepts and Microsoft Access 2007 Health Science Center IT Center – Training
I NTRODUCTION TO D ATABASE C ONCEPTS AND M ICROSOFT A CCESS 2007 Eyad M. AlMassri BGMS4101 Introduction 1.
Microsoft Access 2010 Crash Course Part 1 Academic Health Center Training (352)
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
HSC IT Center Training University of Florida Microsoft Access Understanding Relationships Health Science Center IT Center – Training
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
Database Objective Demonstrate basic database concepts and functions.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
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.
HSC IT Center Training University of Florida Microsoft Access Relationships Health Science Center IT Center – Training
Course Contents Overview: Database basics Lesson 1: Benefits of using a database Lesson 2: Table that data Lesson 3: Analyzing, viewing, and reporting.
Access Lessons 1, 2 and 3 ©2009 M and K Solutions, LLC – All Rights Reserved.
Introduction to Database Concepts and Microsoft Access 2007 Presented By: Mr. Kenver Regis.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
Databases: What they are and how they work
Tutorial 1 Creating a Database
Microsoft Office Access 2010 Lab 1
Prepared By: Bobby Wan Microsoft Access Prepared By: Bobby Wan
IST 220 – Intro to Databases
GO! with Microsoft Office 2016
Microsoft Access 2013 Bobby Wan.
Access Tutorial 1 Creating a Database
Practical Office 2007 Chapter 10
Creating a Simple Database with Microsoft Access 2007
Handling Data Designing Structure, Capturing and Presenting Data
GO! with Microsoft Access 2016
Access Creating a Database
Access Creating a Database
What is a Database? How is a Database use? How to set up in Access?
Introduction to Database Concepts and Microsoft Access 2000
Microsoft Access 2016 Lesson 1.
Tutorial 1 – Introduction To Microsoft Access 2003
Access Tutorial 1 Creating a Database
MODULE 7 Microsoft Access 2010
Database Applications – Microsoft Access
Databases.
Tutorial 1 – Introduction To Microsoft Access 2003
Introduction to Database Concepts and Microsoft Access 2007
Microsoft Applications
Data Types and Field Properties
Database Fundamentals
Handling Data Designing Structure, Capturing and Presenting Data
Spreadsheets, Modelling & Databases
Access Tutorial 1 Creating a Database
Microsoft Office Illustrated Introductory, Windows XP Edition
Microsoft Access Understanding Relationships
Microsoft Office Access is the best –selling personal computer database management system. What is Access?
Access Tutorial 1 Creating a Database
Access Test Questions Test Date: 05/05/16.
Introduction to Database Concepts and Microsoft Access 2007
Presentation transcript:

Introduction to Database Concepts and Microsoft Access 2003

Database Concepts and Access 2003 Introduction Database Microsoft Access Design and Creation Plan Tables Queries Forms Reports

What is a Database? A structured collection of related data An filing cabinet, an address book, a telephone directory, a timetable, etc. In Access, your Database is your collection of related tables

Data vs. Information Data – a collection of facts made up of text, numbers and dates: Murray 35000 7/18/86 Information - the meaning given to data in the way it is interpreted: Mr. Murray is a sales person whose annual salary is $35,000 and whose hire date is July 18, 1986.

Basic Database Concepts Name: Barry Harris College: Medicine Tel: 392-5555 Table A set of related records Record Name: Barry Harris College: Medicine Tel: 392-5555 A collection of data about an individual item Field Name: Barry Harris A single item of data common to all records

An Example of a Table Fields Records Name GatorLink Phone College Graff rgraff 392-3900 Pharmacy Harris bharris 392-5555 Medicine Ipswich zipswich 846-5656 PHHP

Design and Document Your Database A designer’s best tools are a pencil and paper It is important to plan what you are going to do The sooner you touch the computer the sooner you’ll make a mistake If you don’t plan you will often have to start again Document what you are doing, will you remember what you did in three months time?

Questions To Ask Yourself What have I got? (Inputs) What do I want? (Outputs) What do I need to do to get there? (Process) How am I going to build it? (Application/Program)

Database Options Freeware/Shareware - 1,000’s of records Microsoft Excel - Limit of 65,536 Rows Microsoft Access - 100,000’s of records Oracle/SQL - 1,000,000,000’s of records & allows for Multiple users

Why Use Access? Familiar look and feel of Windows Easy to start building simple databases Can build sophisticated systems It’s already on your computer True relational database

What is a Relational Database? A relational database is a collection of tables from which data can be accessed in many different ways without having to reorganize the database tables. That is, once relationships are created, tables can “talk” to each other. We can link (relate) the tables to find: Which doctors are seeing a patient Which students are in which class Which item is selling the most on Friday’s

Basic Design Rules of Relational Databases Data is broken down into Smallest Logical Parts Putting all of the home address in one field may make for convenient data entry, but it makes it very difficult to work with the data. For example, what if I needed to sort by City or Zip Code? Pulling fields together is fairly simple, pulling them apart is very difficult. Name GatorLink Home Address Graff rgraff 123 West Main Street, Gainesville, FL 32601 Harris Bharris 456 South 3rd Road, Newberry, FL 32684 Ipswich zipswich 846 West 52nd Ave, Gainesville, FL 32609 You can join fields together in queries, forms and reports.

Basic Design Rules of Relational Databases Unique Field Names Access won’t let you use the same field name twice in one table but it can become confusing to people doing data entry if you are not clear. Try to keep a consistent naming convention. Name GatorLink Addr1 Addr2 Graff rgraff PO Box 100012 Gainesville, FL 32610 123 West Main Street, Gainesville, FL 32601 Harris Bharris PO Box 100234 Gainesville, FL 32610 456 South 3rd Road Newberry, FL 32684 Ipswich zipswich 846 West 52nd Ave Gainesville, FL 32609 PO Box 100256 Gainesville, FL 32610 Field names can be up to 64 characters long. (see tables documentation for more details)

Basic Design Rules of Relational Databases Unique Field Names You also want to be aware of the field names across tables. For example several tables may use the Field FirstName. When you use those fields in other parts of the database things can become very confusing very quickly. DOCTOR TABLE Name Day Off Sallye Shapiro Thursday Samuel Smith Monday Sidney Samueson Friday PATIENT TABLE Name Address Annie Adams 6831 NW 4th Ave April Appleton PO Box 456 Arnold Arlington 234 SE 45th Road Bobbie Brown 234 Peter Pan Terrace Butch Bruce 3243 SE 4th Terrace When these two Name fields are pulled into the same Query/Form/Report they will appear with the table name in front of the field name: Patient Table.Name

Basic Design Rules of Relational Databases Unique Records If you don’t have unique records, your database can’t tell which record you may be referring to. Name GatorLink Phone College Graff rgraff 2-3900 Pharmacy 392-3900 COP Harris bharris 392-5555 Medicine Ipswich zipswich 846-5656 PHHP

Primary Keys Name GatorLink Phone College Graff rgraff 392-3900 Pharmacy Harris bharris 392-5555 Medicine Ipswich zipswich 846-5656 PHHP To ensure that each record is unique in each table, we can set one field to be a Primary Key field. A Primary Key is a field that that will contain no duplicates and no blank values. Looking at the table above, what would be the best Primary Key?

Primary Keys Name GL Phone College Graff rgraff 392-3900 Pharmacy Harris bharris 392-5555 Medicine Ipswich zipswich 846-5656 PHHP While each column in this particular data set has unique data, the field that will work best for us is GL (GatorLink). Many employees will work for the same college, have the same last name and possibly even share telephone numbers, but each employee should have a unique GatorLink ID. When there is not a unique field in your data set, you can use an AutoNumber. Access can create incremented or random AutoNumbers for your primary key.

Basic Design Rules of Relational Databases No Calculated or Derived Fields If we wanted to see how long an employee had been working with us, we can calculate their Length Employed by subtracting their hire date from today’s date. However, since today’s date is always changing, this data very quickly becomes stagnant. Name GatorLink Date Hired Length Employed Graff rgraff 05/15/2000 4 yrs, 2 mo Harris bharris 02/08/1986 18 yrs, 6 mo Ipswich zipswich 12/15/1999 4 yrs, 7 mo Access will let you create calculations in queries, forms and reports.

Data View/Design View Datasheet View Design View

Navigating Fields and Records To move through records and fields To move through records Tab Shift+Tab Enter Home/End Ctrl+Home Ctrl+End Page Up Page Down The Arrow Keys First Record Current Record Last Record Previous Record Next Record New Record

Introducing Tables Database is a collection of TABLES Tables store all the data

Introducing Queries A means of asking questions (querying) of your data Can look across a number of Tables and other Queries Can perform Calculations and Combine fields

Introducing Forms A friendlier view of the database Used for data input, menus, display and printing Can perform Calculations and Combine fields

Introducing Reports Output of information in a printed report Allows you to group and summarize data Can perform Calculations and Combine fields Cannot Edit Data Can Make Labels

Working Together Tables Queries Employees Customers Reports Forms Company Name Address City Telephone Contact Name Forms