Sparklabs Learning
ClassesSearchPrintable packs
Back to SS 2 First Term
Full packLearner notesTeacher plansCurriculum onlyInclude all weeks

Sparklabs Learning / Digital Technology

SS 2 First Term

Week 9: Introduction to Databases

School
Creative Brains Academy
Subject
Digital Technology
Pack
Full pack
Prepared
7 November 2026

Week index

  1. 01Review and Computer Architecture
  2. 02Main Memory
  3. 03Secondary Storage
  4. 04Operating Systems, Licensing and Applications
  5. 05Number Systems and Data Representation
  6. 06Logic Gates and Digital Logic
  7. 07Computer Networks
  8. 08Internet and Online Safety
  9. 09Introduction to Databases
  10. 10Advanced Productivity Tools
  11. 11Revision
  12. 12Examination

Week 9 / First Term

Introduction to Databases

Monday 2 November 2026 to Friday 6 November 2026

Lesson notes

Learning Objectives

  • Define a database and state why databases are used.
  • Describe the parts of a database.
  • Distinguish between a table, a record and a field.
  • Create, sort and filter a table in a database program.

Meaning and Reason for Databases

A database is an organised collection of related data stored so that it can be searched, sorted and retrieved quickly. A file system stores data in separate files, which leads to duplication and to data that disagrees with itself. A database stores the data once in a controlled structure.

A school keeps a register of pupils. In files, each pupil would have a separate file, and a change of address would have to be made in several places. In a database there is one pupil record, so the change is made once and every report that uses it is correct.

A database is used when there is a large amount of related data that must be searched quickly or reported on in different ways. Schools, banks, hospitals, shops and government offices all use databases.

Parts of a Database

A database system has three parts. The database itself is the collection of stored data. Database software is the application used to enter, search and report on the data. The hardware is the machine and the storage that holds it.

Within the database, data is held in tables. A table holds one kind of record, such as all the pupils or all the staff. A record is one row and holds the fields of one item. A field is one column and holds one kind of information about every record, such as the surname of every pupil.

Each table has a key. The primary key is the field or combination of fields that makes every record unique, and no two records may share the same key. A pupil number makes a good primary key because it is unique and does not change, while a name does not, because two pupils may have the same name.

A table and a record are not the same. A table holds many records, and a record is one row.

A field is not a column label only. The label is the field name, while the field holds the value in each row.

A primary key must be unique, so a name is a poor choice because two people may share it.

Keys, Relationships and Design

A foreign key is a field in one table that refers to the primary key of another table, and the link is called a relationship. A pupil table holds the name and address, an marks table holds the scores, and the pupil number links them.

The design is called normalisation. Splitting the data so that each fact is stored once avoids repetition. The pupil table holds the address once and the marks table holds the scores, and neither repeats the other. This is called first normal form, and the goal is that a fact is entered once and used everywhere.

A relationship may be one to one, where each record in the first table matches exactly one in the second, or one to many, where one record matches many in the second. One pupil has many results, so that is a one to many relationship.

Validation means checking data as it is entered.

Redundancy means the same fact stored more than once.

Using a Database Program

A database program is used to create a table, define the fields and their data types, and then enter the records. The data type is set for each field, such as text, number or date, and it decides what may be entered.

Records are sorted by choosing a field and the sort order, which arranges the records alphabetically or by value. Filtering shows only the records that meet a stated condition, such as all the pupils in a given class, while the rest are hidden but not deleted.

A search finds a particular value. A report is a formatted output produced from the data, such as a list of pupils in a class or a record of attendance. Reports are generated from the stored data, so they are up to date without being typed.

Filtering hides records without deleting them, so a filtered result is not a reduced database.

Advantages and Precautions

The advantages of a database are that data is stored once, searches are fast, several users may work with the same data at once, security can control who sees what, and reports can be produced in any required format.

Precautions are needed because a database holds a great deal in one place. Access is given only to those who need it, a password protects it, a backup copy is kept separately, and the data is validated on entry so that a date of birth cannot be entered as a word.

ComponentMeaning
DatabaseThe organised collection of stored data
Database softwareThe application used to enter, search and report
HardwareThe machine and storage that hold the database
TableA collection of records of one kind
RecordOne row holding the fields of one item
FieldOne column holding one kind of information
Primary keyThe field that makes every record unique
Foreign keyA field that refers to the primary key of another table
RelationshipThe link between two tables
Data typeThe kind of value a field accepts
ValidationChecking the data as it is entered
SortArranging records in a chosen order
FilterShowing only the records that meet a condition
ReportA formatted output produced from the data
RelationshipMeaningExample
One to oneEach record matches exactly one in the other tableA pupil and a single admission record
One to manyOne record matches many in the other tableOne pupil and many results
Many to manyMany records match many in the other tablePupils and subjects

Practical Work

  1. Create a database with one table of pupils holding the fields pupil number, surname, forename, class and date of birth.
  2. Set the data type of each field and set the pupil number as the primary key.
  3. Enter ten records, then sort the table by surname and confirm the order.
  4. Use a filter to show only the pupils in a given class and record the number shown.
  5. Create a second table of results holding the pupil number and three scores, and link it to the first table using the pupil number.
  6. Produce a report listing the pupils in one class with their scores.

Scenario-Based Questions

  1. Explain why storing pupil records in separate files leads to errors that a database avoids.
  2. A school wants to use names as the primary key of a pupil table. Give two reasons this is a poor choice.
  3. Explain the difference between a field and a record, using a library catalogue as an example.
  4. Describe how splitting the address from the marks table reduces redundancy.
  5. Explain what a filter does and state what it does not do.
  6. A database holds confidential results. Explain two precautions that should be applied.
  7. Explain the difference between a one to many relationship and a many to many relationship.

Teacher plan

LEARNING OBJECTIVES: BY THE END OF THE LESSON STUDENTS SHOULD BE ABLE TO:

Cognitivei. Define a database and state why databases are used. ii. Describe the parts of a database. iii. Distinguish between a table, a record and a field. iv. Create, sort and filter a table in a database program.
Affectivei. Appreciate the value of Introduction to Databases in school, at home and in the community. ii. Show willingness to use digital tools carefully, safely and responsibly.
Psychomotori. Create a database with one table of pupils holding the fields pupil number, surname, forename, class and date of birth. ii. Set the data type of each field and set the pupil number as the primary key. iii. Enter ten records, then sort the table by surname and confirm the order. iv. Use a filter to show only the pupils in a given class and record the number shown.

Rationale: A database is an organised collection of related data stored so that it can be searched, sorted and retrieved quickly. Understanding meaning and Reason for Databases, parts of a Database, keys, Relationships and Design, using a Database Program helps learners use digital technology confidently, safely and responsibly.

Pre-requisite Knowledge: In Week 8, learners studied The Internet and Online Safety, including what the Internet Is, how Data Travels, services on the Internet. The knowledge from that week is used again in this lesson.

Learning Material/Teaching Aid: Whiteboard, markers, computer or laptop where available, printed notes and charts on Introduction to Databases, practical task sheets, learners' notebooks and pens.

Reference Materials: Digital Technology for Senior Secondary Schools (SS 2); NERDC Digital Technology Curriculum; Digital Technology SS 2 First Term Notes (Week 9); First Term examination and Continuous Assessment question papers.

LESSON DEVELOPMENT

Stage/Step
(Time)
Teacher's ActivitiesStudent's ActivitiesLearning Points
Introduction
5 MINUTES
Welcomes learners, revises Week 8 (The Internet and Online Safety) with two quick oral questions, and asks what they already know about Introduction to Databases. Elicits responses and writes the topic on the board.Recall the previous lesson and share what they already know about Introduction to Databases.Connecting prior knowledge to Introduction to Databases.
Step 1
6 MINUTES
Covers Meaning and Reason for Databases: A database is an organised collection of related data stored so that it can be searched, sorted and retrieved quickly. A file system stores data in separate files, which leads to duplication and to data that disagrees with itself. Covers Parts of a Database: A database system has three parts. The database itself is the collection of stored data.Listen, take notes and answer oral questions on "Meaning and Reason for Databases" and related points.Understanding: Meaning and Reason for Databases; Parts of a Database.
Step 2
6 MINUTES
Covers Keys, Relationships and Design: A foreign key is a field in one table that refers to the primary key of another table, and the link is called a relationship. A pupil table holds the name and address, an marks table holds the scores, and the pupil number links them.Copy the key points, give examples from school and everyday life, and ask questions on "Keys, Relationships and Design".Understanding: Keys, Relationships and Design.
Step 3
6 MINUTES
Covers Using a Database Program: A database program is used to create a table, define the fields and their data types, and then enter the records. The data type is set for each field, such as text, number or date, and it decides what may be entered.Discuss in pairs, then report one point on "Using a Database Program" to the class.Understanding: Using a Database Program.
Step 4
6 MINUTES
Covers Advantages and Precautions: The advantages of a database are that data is stored once, searches are fast, several users may work with the same data at once, security can control who sees what, and reports can be produced in any required format.Respond to questions, complete the examples on the board and note down "Advantages and Precautions".Understanding: Advantages and Precautions.
Practical Work
6 MINUTES
Guides learners through the practical work: (i) Create a database with one table of pupils holding the fields pupil number, surname, forename, class and date of birth. (ii) Set the data type of each field and set the pupil number as the primary key. (iii) Enter ten records, then sort the table by surname and confirm the order. Moves round the class to check progress and correct unsafe or careless use.Carry out the practical tasks individually or in pairs and record what they did in their notebooks.Applying the lesson through hands-on practice.
Evaluation
3 MINUTES
Asks learners to: i. Define a database and state why databases are used. ii. Describe the parts of a database. iii. Distinguish between a table, a record and a field. iv. Create, sort and filter a table in a database program.Respond verbally and in writing to the evaluation questions.Assessment and consolidation of the lesson content.
Conclusion
2 MINUTES
Recaps the main points: meaning and Reason for Databases, parts of a Database, keys, Relationships and Design, using a Database Program, advantages and Precautions. Links them to the assignment and previews Week 10: Advanced Productivity Tools.Listen, ask questions and copy the assignment.Reinforcement of key concepts and a preview of the next lesson.

Assignment: i. Explain why storing pupil records in separate files leads to errors that a database avoids. ii. A school wants to use names as the primary key of a pupil table. Give two reasons this is a poor choice.

Sparklabs Learning / SS 2 First Term / Full pack

Lesson content is provided for classroom planning. Adapt timings and tasks to the approved school calendar and available devices.

Sparklabs Learning

Digital Technology lesson notes and teaching plans for JSS 1 to SS 3.

Curriculum

Open educational resources for JSS 1 to SS 3 Digital Technology.

Quick links

Search the curriculumBrowse classesPrintable term packs

Academic session 2026 / 2027