Back to Database Package
N
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
Explain different features of database format in MS Access
Not covered here. Our lesson note covers it.
Carry out steps to create a database in MS Access
Not covered here. Our lesson note covers it.
Close the MS Access database
Not covered here. Our lesson note covers it.
List the application areas of Database in different organizations
Not covered here. Our lesson note covers it.
3 lessons from Oak National Academy
1
Database design
2
Database fundamentals
3
SQL fundamentals
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
A DBMS is a software application that allows a database administrator to maintain one or more relational databases.
A data model helps visualise how data is structured for a given scenario, including the relationships between elements.
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?
Drawing pictures
Printing documents
Providing data security and integrity
Playing music
What is an entity in a database?
A type of software
Something about which data is stored
A computer virus
A data backup
Check answers
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
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.
What is a record in a database?
a single value in a table
all the data in a table
a set of related fields for one item
the name of a table
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.
It reduces duplication and links data efficiently.
It cannot be searched.
Check answers
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
SQL stands for Structured Query Language. It is a language used to communicate with a database.
You can use SQL to manipulate databases and retrieve records.
An SQL INSERT statement allows you to add data into pre-existing tables.
An SQL UPDATE statement allows you to modify records.
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?
UPDATE
DELETE
SELECT
INSERT
What is the main purpose of the SQL UPDATE statement?
Add a new table
Change existing data
Remove a table
Create a database
Why should you be careful when deleting data using SQL?
Data may be linked to other tables
It can make your computer slow
It’s illegal
It changes the table’s name
What might happen if you delete a record without checking for links?
You might break relationships with other tables
Nothing will change
The table will be deleted
The database will become faster
Check answers
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.