ICDL Module DataBase
ICDL Module DataBase
Data in a database is saved on the computer as a data file and contains data on a
particular topic
e.g. a Films data file.
Records
A field is part of a record that holds a particular piece of data e.g. Surname.
Decide what information you will store in the database
4
Sample Fields
Here is a sample record from a telephone directory data file made up of
different fields:
Field
Record
What is a Database used for?
• Databases are used by many types of business and organisations such
as:
•Telephone Directory
• Inland Revenue
• Driver and Vehicle Licensing Centre
• A personal Christmas card list
• A mailing list
• Create fields
• Add and alter records
• Search
• Sort
Create Fields
• The first step on setting up a database is deciding on the fields it requires.
• Size: You can decide how many characters a field can hold e.g.
a Postcode field to hold KA18 3GH would require a minimum of 8 characters as
the space counts as a character!
Record 1
Record 2
Search Records
• You can run a search on a database for specific information.
• You can search on a field (or fields) based on certain conditions you require.
e.g. search for the forenames and surnames of people whose test mark was
greater than 50.
Sort Records
• Sorting allows you to organise records into a particular order:
• alphabetic
• numeric
• ascending (1,2,3,4,5…)
• descending (Z, Y, X, W …)
• The sort is done by choosing which field the database is to be sorted into
e.g. sort alphabetically by surname.
Additional features of a Database
Reports
Example:
If a database has the fields <Total Pay> and <Total Deductions>, then a third
called <Net Pay> could be set up with the formula:
(=Total Pay – Total Deductions).
• You can change the way the input screen looks and format a report for output.
• The position of fields can be rearranged and formatted into a particular order
and layout.
• This is useful for designing input screens and producing documents such
as invoices for output.
Keywords
Use of Keywords
• When searching for a particular record or part of it, the text that is used for the
search is called a keyword.
• However, care must be taken that the correct keywords are used.
Test question 1
When you first create a query, you select which of the
following? (Pick one answer.)
1. A record source.
2. A system table.
3. A record set.
Answer:
1. A record source.
Answer:
3. Sort, filter, or otherwise limit what the query returns.