Lesson 1 of 1 · GCSE level, ages 14 to 16
Database fundamentals
By the end: I can describe the difference between a flat file and relational database.
Key learning points
- Data is fundamental to any computer system.
- With data comes the need for a system that is able to store, sort, and search through it.
- A database is an organised collection of data.
- 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
A common mistake
Mistake: A primary key and a foreign key are the same thing.
In fact: 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.
Check what you learned
From Oak National Academy's exit quiz. Choose every answer that is right.
A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence