Databases - PowerPoint PPT Presentation

About This Presentation
Title:

Databases

Description:

Databases What is a Database? Commonly used databases Address books Dictionaries Encyclopedias Library card catalogs Patient data Student data Telephone directories ... – PowerPoint PPT presentation

Number of Views:49
Avg rating:3.0/5.0
Slides: 17
Provided by: WorkforceD4
Category:

less

Transcript and Presenter's Notes

Title: Databases


1
Databases
2
What is a Database?
  • A database is an organized collection of
  • related information.
  • An electronic database is an efficient means
  • of storing and retrieving data and
  • printing reports from the stored data.

3
Commonly used databases
  • Address books
  • Dictionaries
  • Encyclopedias
  • Library card catalogs
  • Patient data
  • Student data
  • Telephone directories

4
Advantages of an electronic database
  • Accurate, quick and efficient arrangement of data
    in alphabetical or numerical order
  • Ability to find and retrieve data
  • Ability to generate reports on the database
  • Ease of editing existing data

5
Steps to design a database
  1. Plan and design the database according to needs
    and requirements
  2. Determine the fields or categories that will be
    used in the database
  3. Determine field properties to include size and
    type

6
Techniques/Devices to input data
  • Keyboard
  • Mouse
  • PDAs
  • Scanners
  • Speech Recognition Software
  • Web forms

7
Terminology
  • An entry is data that is in a field
  • A field is one category of information
  • A field name is the title that is assigned to a
    field
  • A record is a group of related fields of one item
    of information in the database
  • A file is the collection of related records.

8
Example of an entry
Entry
Last Name First Name Address City State Zip
Adams Tom 33 East Street Silas NC 22558
Goins Juan 76 Liberty Rd Bogard NC 55987
Sawyer Sarah 26 Main Street Oakwood NC 44897
9
Examples of fields
Fields
Last Name First Name Address City State Zip
Adams Tom 33 East Street Silas NC 22558
Goins Juan 76 Liberty Rd Bogard NC 55987
Sawyer Sarah 26 Main Street Oakwood NC 44897
10
Examples of records
Last Name First Name Address City State Zip
Adams Tom 33 East Street Silas NC 22558
Goins Juan 76 Liberty Rd Bogard NC 55987
Sawyer Sarah 26 Main Street Oakwood NC 44897
Records
11
Example of database file
Last Name First Name Address City State Zip
Adams Tom 33 East Street Silas NC 22558
Goins Juan 76 Liberty Rd Bogard NC 55987
Sawyer Sarah 26 Main Street Oakwood NC 44897
12
Typical views of a database
  • List view
  • Displays several records on the screen at a time
  • Form view
  • Displays one record on the screen at a time.
  • Commonly used in data entry.

13
General data types
  • Currency ()
  • Date (03/03/03)
  • Numeric (450)
  • These numbers can be used in calculations
  • I.E. Gross pay, basketball statistics, etc.
  • Text/General (Smith)
  • Numbers may used, but would not be computed
  • I.E. Social security numbers, telephone numbers,
    etc.

14
Sortingto arrange data in alphabetical or
numerical order
  • Ascending order (1-10 or A-Z)
  • 1,2,3,4,5
  • Adams, Petteway, Rodriquez
  • Descending order (10-1 or Z-A)
  • 5,4,3,2,1
  • Rodriquez, Petteway, Adams

15
Primary/Secondary Sorts
  • Primary key The field selected as the unique
    identifier for the database.(i.e. Student
    number)
  • Primary sort The first field that a database is
    sorted on.
  • Secondary sort The second field that a database
    is sorted on.

Student No. Last Name Age Grade
001 Pate 12 6
005 Brown 14 8
010 Brown 16 10
Primary Key Student No.
Secondary Sort Age (in ascending order)
Primary Sort Last name (in Descending order)
16
Searching/Querying/Filteringto find specific
data based upon a given criteria or condition
  • Queries/Filters use connectors and comparison
    operators to define the search criteria
  • Connectors (AND, OR, NOT)
  • Comparison operators (lt, gt, lt, gt, , ltgt)
Write a Comment
User Comments (0)
About PowerShow.com