Access Database2016
Access Database2016
Year 8
Introduction
A database is a persistent collection of related data or information which is
held together in an organised or logical way.
A database is persistent because the data and structures are maintained even
when the applications that use the data are no longer running.
A database is organised because the data is stored in a very structured way,
using tables, records and fields so that users and data handling applications
can easily add, delete, edit, search and manipulate the data.
A database is made up of related data because the individual items of data
have a connection of some sort.
For example, a database of students would contain related items such as
name, date of birth, address, classes etc.
Because of the high organisation of a database, data can be retrieved,
sorted and updated very efficiently.
Adding and retrieving information in a database is done using a
special-purpose programming language called SQL.
Examples:
• address book
• Yellow Pages
• Electoral register
• DVLA vehicles / driving licences
Entity Relational Databases
• Entity – An object, person, event or thing of interest to an
organisation and about which data is recorded.
In short:
o Each piece of information is entered into a 'field'
o Related fields are collected into records
o Related records are collected into tables
o Related tables are collected into a database
• Primary key: the field (or combination of fields) that can
uniquely identify a record.
A.Start_Date
B.Sessions
C.Level
D.CourseID
Glossary of key terms
Ms Access
The Navigation Pane:
The Navigation Pane is a list containing every
object in your database. For easier viewing, the
objects are organized into groups by type. You
can open, rename, and delete objects using
the Navigation Pane.
Understanding Views:
There are multiple ways to view a database object. The two
views for tables are Design View and
Datasheet View.
Note: To turn off the Primary Key simply click on the Primary
Key button again.
Input Masks:
An input mask is used to pre-format a field to
“look/act” a certain way when a user inputs data.
Examples: Social Security Number input mask
automatically inserts the dashes; phone numbers
automatically inserts the parentheses and
dashes.
The input mask data can either be stored in the table
or simply displayed and not stored.
Navigating in a Table:
Use the arrows at the bottom of the table to
navigate among records.
Sorting Records in a Table:
1. Position your cursor in the field that you wish to sort by clicking
on any record in the table
2. Click either the Sort Ascending or Sort Descending icon on the
Home tab in the Sort & Filter
group
Queries:
You use queries to view, change, and analyse data
in different ways. You can also use them as a source
of records for forms and reports.
To Create a Query:
1. Click on the Create tab
2. Click on Query Design in the Queries group
3. Select the table that you would like to base
your query on
4. Click Add
5. Repeat steps 3 and 4 until all tables are added
6. Close the Show Table window