Back to Database Management

Oak National Academy

Lessons written by expert teachers in England, each with slides, a video and quizzes.

Their topic:
Databases and SQL
For your topic:
Database Management · Information and Communication Technology - 4IT1

Use these lessons alongside our lesson note, which covers your syllabus in full.

What this covers in your syllabus

3 lessons from Oak National Academy

Lesson 1 of 3 · GCSE level, ages 14 to 16

Database design

By the end: I can design a relational database structure for a given scenario.

Key learning points

  1. A DBMS is a software application that allows a database administrator to maintain one or more relational databases.
  2. A data model helps visualise how data is structured for a given scenario, including the relationships between elements.
  3. One of the easiest ways to show how data is organised is by using an entity-relationship diagram (ERD).

Keywords

DBMS
DataBase Management System: a software package that allows a database administrator to maintain one or more databases
ERD
Entity Relationship Diagram: a diagram that shows the relationship between two or more entities
entity
an entity is a single object, place, person or thing

A common mistake

Mistake: A DBMS is only used for storing data.

In fact: While storage is a major function, a DBMS also provides data security, integrity and querying capabilities.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

Which of the following is a main function of a DBMS besides storage?
What is an entity in a database?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 2 of 3 · 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

  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

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.

What is a record in a database?
What is the main advantage of using a relational database over a flat file database?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

Lesson 3 of 3 · GCSE level, ages 14 to 16

SQL searches

By the end: I can use SQL to retrieve data from a relational database.

Key learning points

  1. SQL stands for Structured Query Language. It is a language used to communicate with a database.
  2. You can use SQL to manipulate databases and retrieve records.
  3. An SQL SELECT statement allows you to retrieve data from a database.
  4. The SQL SELECT * statement allows you to return all the data and fields from a table.

Keywords

SELECT
allows you to retrieve data from a database
SELECT *
allows you to return all the columns from a database table

A common mistake

Mistake: Using SELECT * is always the best method for returning data from a database table.

In fact: You should only use the SELECT * query when all fields are needed. Including unnecessary data can be frustrating for the person viewing and working with the results.

Check what you learned

From Oak National Academy's exit quiz. Choose every answer that is right.

What does the SQL SELECT statement do?
Which of these is the best practice when you only need a few fields from a table?
Which SQL statement is used to retrieve data from more than one table?

A computing lesson by Oak National Academy licensed under the Open Government Licence (OGL) v3.0. Read the licence

The wording comes from each publisher. The layout and the links to your syllabus are ours.