Back to Database Package

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 Package · Computer Studies

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 fundamentals

By the end: I can create SQL queries to insert and update data stored in a 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 INSERT statement allows you to add data into pre-existing tables.
  4. An SQL UPDATE statement allows you to modify records.
  5. Existing records can be deleted from a table by using an SQL DELETE statement.

Keywords

SQL
Structured Query Language: declarative language designed for managing data held in a relational database management system
INSERT
an SQL INSERT statement allows you to add data into pre-existing tables
UPDATE
an SQL UPDATE statement allows you to modify records

A common mistake

Mistake: You can delete data from a database using an SQL command without any consideration.

In fact: You should delete data using SQL commands carefully as data may be linked to other tables in the database.

Check what you learned

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

Which SQL statement is used to add new data to a table?
What is the main purpose of the SQL UPDATE statement?
Why should you be careful when deleting data using SQL?
What might happen if you delete a record without checking for links?

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.