microsoft access 2002 by ian cole lecturer in ict

17
Microsoft Access 2002 By Ian Cole Lecturer in ICT

Post on 21-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Microsoft Access 2002

By Ian Cole

Lecturer in ICT

Page 2: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Access Overview

Database Theory: Creating a Database:

Designing and creating a relational database.

Familiarisation with the Access screen. Opening,viewing and creating tables. Imputting Data. Sorting and filtering tables. Creating reports.

Page 3: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Session Plan Introduction. Relational Theory.

Normalisation. Microsoft Access.

Tables Forms Queries

Self – Directed Workbook

Page 4: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Introduction What is a Database?

Telephone Book. Patient Records A Timetable. Student Records Systems.

Different types of Database! hierarchical database (1960 &

1970’s) relational databases (Access)

Page 5: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Relational Theory

Hello there! My names Sid

Hi call me Pid

Would you like to have

relations

Mmmm!!Yes

please

Page 6: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Relational Theory

Hello Son

Mummy!

Daddy!

My baby!!!

Page 7: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Relational Theory

Page 8: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Is Excel a Relational Database?

Page 9: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Database Normalisation

Codd's Law a set of 13 rules

used to determine if a database can be considered a Relational Database.

It’s all my

fault

Page 10: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Database Normalisation Normalisation is to reduce data redundancy and the

chances of data becoming inconsistent. A table in a relational database is said to be in normal

form if it satisfies certain constraints - Codd's original work defined three forms but there are now five generally accepted steps of normalisation.

First Normal Form eliminates repeating groups by putting each into a separate table and connecting them with a one-to-many relationship (1NF).

Second Normal Form eliminates functional dependencies on a partial key by putting the fields in a separate table from those that are dependent on the whole key (2NF).

Third Normal Form eliminates functional dependencies on non-key fields by putting them in a separate table. At this stage, all non-key fields are dependent on the key, the whole key and nothing but the key.

Fourth Normal Form separates independent multi-valued facts stored in one table into separate tables.

Fifth Normal Form breaks out data redundancy that is not covered by any of the previous normal forms.

Page 11: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Database Normalisation Cole’s Law

Don’t duplicate data in a database or it won’t work properly.

Page 12: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Structured Query Language

SELECT "column_name" FROM "table_name“

WHERE "condition"

Never mind SQL

I keep thinking BLOODY HELL!!!!!

Page 13: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Structured Query Language

SELECT "column_name" FROM "table_name“

WHERE "condition"

Example:SELECT RedFROM P tableWHERE city = ‘London’

Page 14: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Microsoft Access

Tables Different views Records Fields

Columns Primary Key

Page 15: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Microsoft Access

Tables Different views Records Fields

Columns

Forms

Page 16: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Microsoft Access

Tables Different views Records Fields

Columns Forms Sorting – temporary Queries – Permanent (new table)

Page 17: Microsoft Access 2002 By Ian Cole Lecturer in ICT

Microsoft Access

Database Window Always open

Toolbars Contextual No need to save

Workbook Ask questions at any time