New
New
Year 11
AQA

Database fundamentals

I can describe the difference between a flat file and relational database.

New
New
Year 11
AQA

Database fundamentals

I can describe the difference between a flat file and relational database.

These resources will be removed by end of Summer Term 2025.

Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.

These resources were created for remote use during the pandemic and are not designed for classroom teaching.

Lesson details

Key learning points

  1. Data is fundamental to any computer system.
  2. With data comes the need for a system that is able to store, sort, and search through it.
  3. A database is an organised collection of data.
  4. Databases can be as simple as a single file, and as complex as a set of related tables, each with fields and keys.

Keywords

  • Record - a data structure that stores related fields of data for a single object or being.

  • Field - the part of a record which are the category headings for data in a table sometimes called an attribute.

  • Primary key - an attribute that uniquely identifies a record in a database table.

  • Foreign key - an attribute in one table that is the primary key in another table and is used to link the tables together.

Common misconception

A primary key and a foreign key are the same thing.

A primary key is an attribute that uniquely identifies a record in a database table, whereas a foreign key is an attribute in one table that is the primary key in another table and is used to link the tables together.


To help you plan your year 11 computer science lesson on: Database fundamentals, download all teaching resources for free and adapt to suit your pupils' needs...

Databases are used all around us without us realising. Draw out examples with pupils of where in databases are used such as shopping websites and streaming services.
Teacher tip

Equipment

Licence

This content is © Oak National Academy Limited (2025), licensed on Open Government Licence version 3.0 except where otherwise stated. See Oak's terms & conditions (Collection 2).

Lesson video

Loading...

Prior knowledge starter quiz

Download quiz pdf

6 Questions

Q1.
Which of the following best describes a database?
Correct answer: a collection of data organised in tables
a tool for drawing pictures
a type of computer virus
a computer game
Q2.
What is a table in the context of databases?
a list of instructions for a computer
a type of graph
a program for editing images
Correct answer: a set of rows and columns for storing data
Q3.
What is the process of arranging data alphabetically or numerically called?
Correct Answer: sort, sorting
Q4.
What do we call all the details about one person or item in a table?
Correct Answer: record
Q5.
If you wanted to find all students with a grade above 80, what feature would you use?
Correct answer: filter
print
copy
paste
Q6.
Arrange these steps in the correct order for finding the desired results:
1 - Open the database application.
2 - Add new data to the table.
3 - Apply a filter to the table.
4 - View the filtered results.

Assessment exit quiz

Download quiz pdf

6 Questions

Q1.
What is a record in a database?
a single value in a table
all the data in a table
Correct answer: a set of related fields for one item
the name of a table
Q2.
What is the term for a field that uniquely identifies each record in a table?
Correct Answer: primary key
Q3.
What do we call a field in one table that links to the primary key in another table?
Correct Answer: foreign key
Q4.
What is the main advantage of using a relational database over a flat file database?
It is harder to understand.
It stores all data in one place.
Correct answer: It reduces duplication and links data efficiently.
It cannot be searched.
Q5.
Match each example to the correct database concept:
Correct Answer:field,“Date of Birth”

“Date of Birth”

Correct Answer:primary key,“12345” (unique number in a table)

“12345” (unique number in a table)

Correct Answer:foreign key,“Student ID” in a second table (linking between tables)

“Student ID” in a second table (linking between tables)

Q6.
Match each type of relationship to its correct description:
Correct Answer:one to one,each record links to only one in the other table

each record links to only one in the other table

Correct Answer:one to many,one record links to several in the other table

one record links to several in the other table

Correct Answer:many to many,records in both tables link to several in the other, via a join table

records in both tables link to several in the other, via a join table