lesson 1 -what is a database? -fields and records

26
Lesson 1 -What is a Database? -Fields and Records

Upload: clifton-allison

Post on 28-Dec-2015

222 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Lesson 1 -What is a Database? -Fields and Records

Lesson 1-What is a Database?-Fields and Records

Page 2: Lesson 1 -What is a Database? -Fields and Records

What is a Database?

A Database is…

an organized set of stored information usually on one topic

a collection of records

a way to organize information in a file so that you can examine information on a variety of ways and access the information in new ways

a type of "filing cabinet" that can help you manage, manipulate, organize, sort and modify information

Page 3: Lesson 1 -What is a Database? -Fields and Records

What are Databases Good For?

Easy way to organize and sort information

Use the information (mail merge)

Analyze information

Group information

Find specific information

Look at patterns and relationships between information

Take up less space

Help you manage large collections of information

Page 4: Lesson 1 -What is a Database? -Fields and Records

Examples of a Database

student information cards

library catalogs

encyclopedias

phone books

file folders

cookbooks

doctor’s records

Page 5: Lesson 1 -What is a Database? -Fields and Records

Basics of a Database

Databases are made up of:

-files

-records

-fields

File

Page 6: Lesson 1 -What is a Database? -Fields and Records

Files

A file is a collection of related database information.

Ex.

A Movie Collection

Address Book

Page 7: Lesson 1 -What is a Database? -Fields and Records

Records

A record is a collection of data about a single product, activity, or transaction.

Ex.

Titanic

L. Douglas Wilder

Person in the Address BookThis record is about Jane Doe.

Page 8: Lesson 1 -What is a Database? -Fields and Records

Fields

A field is each separate piece of information (but related) in a record. Fields are the “building blocks” for records containing the data you want to store, find, sort and print.

Ex.

Name

Address

City

Phone # This record has four fields.

Page 9: Lesson 1 -What is a Database? -Fields and Records

Lesson 2Review of what we can do with a

Database.

Page 10: Lesson 1 -What is a Database? -Fields and Records

What is a database?

Page 11: Lesson 1 -What is a Database? -Fields and Records

• Two main uses:

• Storing information

• Sorting information

Page 12: Lesson 1 -What is a Database? -Fields and Records

What kind of information could we store in a database?

• Patient information

• Telephone numbers

• Business clients

• Name and phone numbers of friends

• Parent’s contact information for children in a school

Page 13: Lesson 1 -What is a Database? -Fields and Records

Key words

Each person’s information is separate and that is called a record

e.g. Name – Jo Bloggs

Address – 33 Wood Lane, Haworth

Phone number – 0474792927484

Page 14: Lesson 1 -What is a Database? -Fields and Records

What kind of things could we do with these records?

• A search – this is called a query

• Example 1 – a child is ill at school – we need to find out if they have any medical conditions quickly

• Example 2 – we need to find who owns a car that has been caught speeding on the motorway

• http://www.primaryresources.co.uk/ict/ict2.htm

Page 15: Lesson 1 -What is a Database? -Fields and Records

Lesson 3 Parts of a Database:

Design View, Datasheet, Queries, Forms and Reports

Page 16: Lesson 1 -What is a Database? -Fields and Records

Planning Your Database

What is your goal?

Determine the type of information you will want/need

before you begin designing it

Sketch it out on paper first

Decide on your field names and put them in order of

preference

Make sure you keep things CONSISTENT

Page 17: Lesson 1 -What is a Database? -Fields and Records

Data TypesAn Important Part of Planning!!!

Each field holds a different type of information.

There are 10 different types of data!

Text - text or numbers like phone # or zip code

Memo - notes, descriptions, or summaries

Number - numbers that you calculate

Date/Time - date and time ONLY

Currency - money ONLY

Page 18: Lesson 1 -What is a Database? -Fields and Records

Data Typescontinued

Auto# - computer automatically assigns a number

Yes/No - can answer yes/no OR true/false OR on/off

OLE Object - can insert a picture, sound or file

Hyperlink - can jump to a document or web page

Lookup Wizard - can produce a “drop down” menu of choices

Page 19: Lesson 1 -What is a Database? -Fields and Records

Design View

This is where you start off. It allows you to add fields, rearrange fields, change field properties, etc...

This view allows you to see the structure or the “blueprint” of the table or form.

Page 20: Lesson 1 -What is a Database? -Fields and Records

Data Sheet View

This allows you to see several records at the same time. It displays the data in columns and rows.

You actually enter the data for your records here!!!

Page 21: Lesson 1 -What is a Database? -Fields and Records

Components of an Access Database

There are six components to an Access database.

Tables

Queries

Forms

Reports

Macros

Modules(macros and modules are for advanced users so we will not discuss those!)

Page 22: Lesson 1 -What is a Database? -Fields and Records

Tables

A table is a collection of related data that is stored in columns and rows.

Page 23: Lesson 1 -What is a Database? -Fields and Records

Queries

A query is a stored question about data in your table. It asks the database to find specific information to meet the conditions you asked for.

In this query…

I asked it to list all of the students who were walkers.

Page 24: Lesson 1 -What is a Database? -Fields and Records

Forms

Forms provide a quick way to view, enter, and change information in a database.

Page 25: Lesson 1 -What is a Database? -Fields and Records

Reports

You create a report so that you can easily output your database to the printer.

Page 26: Lesson 1 -What is a Database? -Fields and Records

Let’s Try It Out!!!

Microsoft Access