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.

Slides:



Advertisements
Similar presentations
Microsoft Access.
Advertisements

Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
Computer Concepts BASICS 4th Edition
Exploring Microsoft Access 2003 Chapter 1 Introduction to Microsoft Access: What Is A Database?
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
SUNY Morrisville-Norwich Campus-Week 10 CITA 130 Advanced Computer Applications II Spring 2005 Prof. Tom Smith.
Creating a Blank Database 1. Open up Microsoft Access 2. Click on Blank document button 3. On the right panel, Specify the location for saving your database.
COMPREHENSIVE Access Tutorial 2 Building a Database and Defining Table Relationships.
Concepts of Database Management Sixth Edition
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
Database Design Concepts INFO1408 Term 2 week 1 Data validation and Referential integrity.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
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.
Computer Science & Engineering 2111 Introduction to Database Management Systems Relationships and Database Creation 1 CSE 2111 Introduction to Database.
LESSON 17 PREPARED BY MANJU. database A database is a collection of related information Access is the Microsoft Office database program that enables you.
Microsoft Access Database software. What is a database? … a database is an organized collection of data. A collection of data of similar information compiled.
ACCESS CHAPTER 1. OBJECTIVES Tables Queries Forms Reports Primary and Foreign Keys Relationship.
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.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Concepts of Database Management, Fifth Edition Chapter 4: The Relational Model 3: Advanced Topics.
Chapter 4 The Relational Model 3: Advanced Topics Concepts of Database Management Seventh Edition.
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.
Microsoft Access 2003 Define some key Access terminology: Field – A single characteristic or attribute of a person, place, object, event, or idea. Record.
Management Information Systems MS Access MS Access is an application software that facilitates us to create Database Management Systems (DBMS)
Exploring Microsoft Access 97 Chapter 1 Introduction to Microsoft Access: What Is A Database? Office graphic copyright by Microsoft Corp.
XP New Perspectives on Microsoft Office Access 2003 Tutorial 9 1 Microsoft Office Access 2003 Tutorial 9 – Using Action Queries, and Defining Table Relationships.
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
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.
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.
Microsoft Office 2007 Access Chapter 3 Maintaining a Database.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
Chapter 4c, Database H Definition H Structure H Parts H Types.
Database collection of related information stored in an organized form Database program software tool for storage & retrieval of that information.
What have we learned?. What is a database? An organized collection of related data.
Access  Getting Started  Creating Tables  Designing Tables Worksheet #8.
26 Mar 04 1 Application Software Practical 5/6 MS Access.
Microsoft Office XP Illustrated Introductory, Enhanced Tables and Queries Using.
Maintaining a Database Access Project 3. 2 What is Database Maintenance ?  Maintaining a database means modifying the data to keep it up-to-date. This.
1 CSE 2337 Introduction to Data Management Access Book – Ch 1.
Microsoft Access 2010 Chapter 3 Maintaining a Database.
IBS 520 Introduction to Internet Technology Database Fundamentals Week 4.
Database and Information Management Chapter 9 – Computers: Understanding Technology, 3 rd edition.
1 MS Access. 2 Database – collection of related data Relational Database Management System (RDBMS) – software that uses related data stored in different.
Planning & Creating a Database By Ms. Naira Microsoft Access.
Lesson 13 Databases Unit 2—Using the Computer. Computer Concepts BASICS - 22 Objectives Define the purpose and function of database software. Identify.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
DATABASE MANAGEMENT SYSTEM.
INTRODUCTION TO ACCESS. OBJECTIVES  Define the terms field, record, table, relational database, primary key, and foreign key  Create a blank database.
Microsoft Access Database Creation and Management.
Introduction to Databases CISC Where would you find info about yourself stored in a computer? College Physician’s office Library Grocery Store Dentist’s.
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.
Database Presentation BIM, Mrs. Bailey. **Database Notes** Use new sheet of paper! Microsoft Access - known as a database management system or DBMS Database.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
and Defining Table Relationships
CIS 155 Table Relationship
Introduction to Database Systems
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Spreadsheets, Modelling & Databases
Presentation transcript:

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 office Verizon IRS …

General Definition A DATABASE is a collection of related data. Data = known facts that can be recorded and have implicit meaning.

“Miniworld” Each database can be viewed as representing a part of the real world, called a “miniworld.”

Size of a database Small database example: your personal phone directory Large database example: database of the IRS

DBMS – Database Management System A collection of programs that enables users to create and maintain a database.

MS Access is a DBMS In ACCESS, a DATABASE consists of a collection of tables.

Example of a Database

Table A table is defined by its columns, called fields. Each row (or entry) in a table is called a record. A record is the information about a specific person, product, or event.

Starting ACCESS 1.Begin ACCESS 2.Open a blank Database – although a database consists of many files, in Access, each database is viewed as a single file, hence a single icon.

Defining a TABLE A TABLE is defined by its fields (column headings). 1.Field Name – unique name 2.Data Type – type of info a field can contain. 3.Description – comments about field.

PRIMARY KEY unique identifierEach table must have a primary key which is a unique identifier for each record. Eg. ID number for a student, course number for a course, driver number for a driver, etc.

Two VIEWS of a Table 1.Design View – view the table’s definition, I.e. the fields and their properties. 2.Datasheet View – view the actual records in the table.

Database Design Arranging data into tables and fields. This process can be long and difficult.

Remove Redundancy WHY? Wastes space Updating is difficult Inconsistent data may result

Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change characteristics of existing fields

Query Types Select Query – chooses data from a table and displays it. Update Query – updates records in a table Delete Query – deletes records from a table.

Validation Rules Validation Rules are rules that a user must follow when entering data into a database. Validation Text – the message that appears if the user enters the wrong type of data.

Validation Rules Indicate that a field is required Entry must lie within a given range Specify a valid collection of values Specify a default value Change lowercase to UPPERCASE

Referential Integrity Primary Key - unique identifier for each record in a table. Foreign Key – a field in a table whose values must match a primary key in another table.

Referential Integrity We can define a relationship between two tables. ONE – to – MANY Relationship Primary key Foreign Key

Indexes An INDEX in the back of a book contains important words or phrases (in alphabetical order) together with a list of pages on which the given word or phrase can be found.

Indexes An INDEX on a table in ACCESS is a list of names in alphabetical order and their locations in the table. The INDEX can be constructed on any field, not only on the names. The field on which the index is built is called the index key.

Index An index is used instead of physically sorting the records. An index is automatically created for the primary key of every table.

When should you create an INDEX? Frequent need of sorted data. Frequent searches on that field. Note: updates on an indexed field will be slower since the index must also be updated.