Paper 2 Databases
Paper 2 Databases
Databases (Access)
A database is a collection of data or information stored in a logical format.
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Database Structure - Table Table:
• A table in database will be created to store
Chapter 18: Data Manipulation (Access)
Data Types:
• Will contain specific types of data for each field.
Creating a Table: • Once the data type has been selected then only that
View >> Design View specific type of data can be entered into that field.
• Example: Data and Time will only allow for a data to
be entered.
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Database Structure: Data Types, Fields & Records
Chapter 18: Data Manipulation (Access)
6 Records Shown
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
In a typical database exam question you will be asked to import a CSV file into a suitable
database package (Microsoft Access).
Chapter 18: Data Manipulation (Access)
Tip:
Primary Key: This will be the unique field for each record. The VIN will be
the primary key as each car will have a unique VIN.
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Importing CSV Tip: Always check the currency and the format
of the date.
£ - Pounds
Chapter 18: Data Manipulation (Access)
01-Jan-2016
Tip: Always check data types when importing CSV File. If you do not then you run the risk of
getting import errors.
Tip: If it asks for decimal places Tip: You can then format the number in design view. If a
then during the import leave the number is not showing to a certain decimal value then
data type as double. you can set the format to standard.
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Importing CSV
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Importing CSV 5) Click on First Row Contains Field
Names and then click on advanced.
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK 8
ICT IGCSE
Databases (Access)
In this exam question you have to first create the table 1 2
(Including Fields & Data Types) and then import the CSV file.
Chapter 18: Data Manipulation (Access)
When importing
the CSV file you
have to append a
copy of the records
to the table you
created.
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Print Screen Evidence
Chapter 18: Data Manipulation (Access)
Tip: When you print screen your data types ensure you also show the formats.
Don’t crop the bottom part off.
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Formatting
Chapter 18: Data Manipulation (Access)
Euro
Dollar
Pound
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Relationship Database
Chapter 18: Data Manipulation (Access)
A relational database has more than one table and the tables are linked using key fields.
Advantages:
• Teacher details only need to be entered once into the database.
• Mistakes are less likely to happen when entering data if it already exists.
• Avoids duplicating data.
• Data can be accessed using key fields (Primary and Foreign Keys).
• Queries and reports can be created using data (fields) from a number of tables which have a
relationship.
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Relationship Database
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Relationship Database
Chapter 18: Data Manipulation (Access)
There are
more books
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Relationship Database
Chapter 18: Data Manipulation (Access)
1 2
3 records.
The best way to update an existing record is to
use the filter tool and search by the Primary
2 Key (VIN).
1) Select the VIN Field >> Text Filters >>
Equals.
2) Type in the Primary Key (377C15423003)
and press Ok.
3 3) Update the record according to the details
on the exam paper.
Discount Applied: 10
Date Sold: 06/05/2012
Sales Person: Algier
4 Sold: Yes
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
A Data entry form is used to enter new records into a database table. The form is a more user
friendly way to enter new records.
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Create Drop Down Menu
Chapter 18: Data Manipulation (Access)
Evidence 1:
Limit to List Box Ticked
Evidence 2: Evidence 3:
Print screen of LOOKUP Dropdown Menu
Evidence of
Validation
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
2. Select the correct table and then all fields. 3. Click on Next >> Finish
Fields
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
In design view
you can format
the appearance
of the Form.
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
When you are in Form View you can add or navigate through the existing records using the
buttons. In the exam you could be instructed to add a new record using the form.
Chapter 18: Data Manipulation (Access)
Evidence:
You could be asked to print screen
the form showing the new record
has been added.
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Tip: When you are creating a report ensure you have identified all query and reports
tasks.
Chapter 18: Data Manipulation (Access)
Query Report
• Selecting Fields • Sort
• Search criteria • Page orientation
• Calculated run-time field + formatting • Report header/footer
• Calculation (Count, Sum, Max & Min)
• Labels for formulas
• Show labels in full
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Annotating Exam Paper
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Query Task 2: Name your Query as the Report Title.
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Query Task: Search Criteria
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Query – Search Criteria Tip: You can search
by a field and then
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Query – Search Criteria
Wild Card – Sometimes a field may contain more than
Chapter 18: Data Manipulation (Access)
Calculated Run time is used when we have to calculate specific values Enter New Calculated
using data from existing fields. Run Time Field here
Total_Berths:[Sleeps]+[Crew]
Daily_Cost:[Course_Cost]/[Duration]
Delivered_Price:[Cost_Price]+200
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Report – Sort & Page Orientation
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Report – Show Labels and fit to a single page wide
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Formulas in the Report
Chapter 18: Data Manipulation (Access)
Function Tool
Selected
Fields
WWW.YAHMAD.CO.UK In Design View you can also add your candidate details.
ICT IGCSE
Databases (Access)
Labels Create the query first for your
labels using the specified fields
Chapter 18: Data Manipulation (Access)
3 4
1
Search Criteria
No fields
names are
displayed
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Labels 2016 March
Chapter 18: Data Manipulation (Access)
2 Count
WWW.YAHMAD.CO.UK