Planning a database

About this lesson: Planning a database

In short

A database stores data in tables. Each column is a field (one kind of data) and each row is a record (everything about one item). Highlight a field, then a record.

Planning a database

What you'll explore

Tables: Fields and records
A database stores data in tables. Each column is a field (one kind of data) and each row is a record (everything about one item).
Primary key: One of a kind
Two bookings have the same name. A primary key is a field with a different value for every record, so each one can be found exactly. Add one.
Data requirements: Collect only what you need
Before building a database, list the data the application really needs. For ticket bookings, which of these extra fields are useful? Try each one.
Evaluating: Does it do the job?
Check a database against the questions its users need to answer, and check the data is suitable. Find the problems, then improve it.
Check yourself: Choose a key
A library stores its books in a database. Two different books are both called ‘Ocean Life’.

Also in this lesson

  • Common mix-ups
  • The parts of a table
  • Good data is…
  • Design a database

Words to know

database
An organised store of data that can be searched and sorted.
field
A column holding one kind of data.
record
A row holding all the data about one item.
primary key
A field with a unique value for every record.
data requirements
The list of data an application needs.

Sources

  • BBC Bitesize KS3 Computing: Databases

An interactive lesson with a live experiment: move the sliders, press the buttons and answer quick questions. 5 short steps and a 6-question quiz. Part of the Family plan. Written and checked by Shalo Lab. Last updated 11 November 2026.

← Using libraries · Validation and forms →

All lessons in Term 3 · Computing · Age 12