3.2.3

Relational Databases

Test yourself on Relational Databases

Test your knowledge with free interactive questions on Seneca — used by over 10 million students.

Relational Database

A relational database is a set of tables whose records are linked by certain fields.

Relational database

Relational database

  • A relational database is a set of tables whose records are linked by certain fields.
  • Each table contains data on one entity e.g. students or parents.
  • When you link one table to another, this is known as a relationship.
  • Each table then has a relationship to other tables using primary and foreign keys.
Foreign key

Foreign key

  • If the primary key of one table is placed into another table, this is then known as a foreign key.
  • For example, when a student ID field is added to a parent table to link you to your parents accounts, that student ID is a primary key in the student table but becomes a foreign key in the family table.
  • The parents table will have its own primary key.
Secondary key

Secondary key

  • A secondary key may also be kept by the database.
  • A parent may not know their child’s student ID, but they will be able to locate their last name in the database.
  • Secondary keys do not need to be unique.
Jump to other topics
1

Components of a Computer

2

Software & Software Development

3

Exchanging Data

4

Data Types, Data Structures & Algorithms

5

Legal, Moral, Cultural & Ethical Issues

6

Elements of Computational Thinking

6.1

Thinking Abstractly

6.2

Thinking Ahead

6.3

Thinking Procedurally

6.4

Thinking Logically

6.5

Thinking Concurrently

7

Problem Solving & Programming

8

Algorithms

Practice questions on Relational Databases

Can you answer these? Test yourself with free interactive practice on Seneca — used by over 10 million students.

  1. 1
  2. 2
  3. 3
Answer all questions on Relational Databases

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium