Computer Science - 9210 OxfordAQA

Relational Databases

Overview

Write a customer's address on every order they place and you have created a problem you will not notice for months. Then they move. Now some orders carry the old address and some carry the new one, both are in the same file, and nothing in the data says which is correct. The information has not been lost. It has been duplicated, and duplication is how data becomes untrustworthy.

This lesson explains what a database is, what makes one relational, and the five terms the specification examines: table, record, field, primary key and foreign key. Then it explains the reason the whole design exists. Splitting data across linked tables so that each fact is stored exactly once is what makes redundancy and inconsistency avoidable, and being able to say precisely how it does that is worth more marks than being able to name the parts.

Objectives

  1. Explain the concept of a database. Explain the concept of a relational database. Understand the following important database concepts.
  2. table
  3. record
  4. field
  5. primary key
  6. foreign key.
  7. Understand that the use of a relational database facilitates the elimination of data inconsistency and data redundancy.

Mind map

This topic is mapped out so you can see how the ideas connect.

Open the mind map in the app

Lesson Note

A database is an organised collection of data, stored so that it persists, and structured so that it can be searched, added to, changed and retrieved reliably. The word doing the work in that sentence is organised. A folder full of notes is data and is not a database, because nothing about it says what a record is, which pieces belong together, or how to find one.

Complete Note Available on the Green Bridge App

Get the Green Bridge CBT app on your phone or computer for the complete IGCSE library: past papers, mark schemes, mind maps, flashcards and audio lessons.

Full lesson notes with diagrams
AI-powered learning assistant
Timed mock exams marked the moment you finish
Available on Android, Windows, macOS, and Linux iOS app coming soon

Lesson Evaluation

Congratulations on completing the lesson on Relational Databases. Now that youve explored the key concepts and ideas, its time to put your knowledge to the test. This section offers a variety of practice questions designed to reinforce your understanding and help you gauge your grasp of the material.

You will encounter a mix of question types, including multiple-choice questions, short answer questions, and essay questions. Each question is thoughtfully crafted to assess different aspects of your knowledge and critical thinking skills.

Use this evaluation section as an opportunity to reinforce your understanding of the topic and to identify any areas where you may need additional study. Don't be discouraged by any challenges you encounter; instead, view them as opportunities for growth and improvement.

  1. What is a record in a relational database? A. One column of a table B. All the data about one individual item, held as one row C. The name of a table D. A link between two tables Answer: B
  2. What is a primary key? A. A field whose value uniquely identifies each record in a table B. The first field listed in a table C. A field that holds a value from another table D. The password used to open the database Answer: A
  3. A Booking table contains a field MemberID which holds values from the Member table's primary key. What is MemberID in the Booking table? A. A primary key B. A record C. A foreign key D. A table Answer: C
  4. What is data redundancy? A. Data that is no longer needed and can be deleted B. Storing the same piece of data more than once C. Data that has been encrypted D. A field with no value in it Answer: B
  5. Why can data inconsistency not occur if a fact is stored exactly once? A. Because a single copy cannot disagree with anything B. Because single copies are always encrypted C. Because a single copy takes up less space D. Because tables cannot be linked Answer: A

Work through these questions in the app

Work through these questions in the app

Practice Mock Questions

Want to practice mock questions on Relational Databases? Download the Green Bridge CBT app to access mock questions and full practice assessments for this topic.

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning