Database Overview
Database Overview
Databases (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (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.
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)
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)
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
Key (VIN).
2 1) Select the VIN Field >> Text Filters >>
Equals.
2) Type in the Primary Key (377C15423003)
and press Ok.
3) Update the record according to the details
on the exam paper.
3 Discount Applied: 10
Date Sold: 06/05/2012
Sales Person: Algier
Sold: Yes
4) Clear the text filter and repeat the same
process with the next two records.
4
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 (2)
• Search criteria • Page orientation
• Calculated run-time field + formatting • Report header/footer
• Sort (1) • 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
Tip: Extend the hide it. Before
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)
Sort - 1
Chapter 18: Data Manipulation (Access)
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Report – Sort (2) & Page Orientation
Chapter 18: Data Manipulation (Access)
Report Wizard:
• If there are two sorts in the report then
you would do it in the report wizard.
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 and search criteria.
Chapter 18: Data Manipulation (Access)
3 4
1
WWW.YAHMAD.CO.UK
ICT IGCSE
Databases (Access)
Summery Query 4
Chapter 18: Data Manipulation (Access)
2 Count
WWW.YAHMAD.CO.UK