Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
Log inStart revising free
Revision notesQuestionsFor schoolsLog in

© 2026 Revise Computing · revisecomputing.co.uk

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).

Knowledge/A Level/H446/01 Computer systems/Databases/Relational databases, flat files, keys…

Relational databases, flat files, keys, entity relationship modelling, normalisation and indexing

Relational database, flat file, primary key, foreign key, secondary key, entity relationship modelling, normalisation and indexing. See appendix 5f

1.3.2 Databases

Practise exam questions

Databases — Note 1 of 6

Candidates need to understand what is meant by a database. Candidates should be familiar with basic database terminology such as fields, records and tables. Candidates should know the difference between a flat file and a relational database, and be able to explain the benefits and limitations of each approach. Candidates should know what is meant by a primary key, foreign key and secondary key and how each are used in a database. Candidates should be able produce and follow Entity relationship diagrams which include 1:1, 1:M and M:M relationships. They should be able to identify how tables should be linked.

What you need to know

A database is a structured, persistent store of data. A relational database splits data into linked tables to reduce duplication, using keys to create the links. You need to know the key terms, the difference between flat file and relational databases, and how to draw and read ER diagrams.

What to know

  • ER diagrams show entities as boxes and relationships as lines: one-to-one (plain line), one-to-many (crow's foot at the 'many' end), many-to-many (crow's foot at both ends).
  • A many-to-many relationship cannot be implemented directly; it is resolved with a link (junction) table that has a one-to-many relationship with each entity.

Key terms

Database

An organised, persistent collection of data. Data is stored in tables made of records (rows) and fields (columns).

Table, record and field

A TABLE is a set of related records about one entity (e.g. all the students). A RECORD is a set of related fields holding the data about one instance of that entity (e.g. one student). A FIELD is one attribute (property) of the entity, e.g. Surname.

Flat file database

All data is stored in a single table. Simple, but leads to redundant (repeated) data and inconsistencies when data is updated.

Relational database

Data is stored in several tables, each about one entity, linked together through keys. This reduces redundancy and improves consistency.

Primary key

A field (or combination of fields) that uniquely identifies each record in a table.

Composite key

A primary key made from two or more fields combined.

Foreign key

A field in one table that is the primary key of another table, used to link the two tables. In a one-to-many relationship it belongs to the table on the 'many' side, not the table where it is the primary key.

Secondary key

A field, other than the primary key, that is indexed so records can be searched for or grouped quickly by that field, e.g. surname. It need not be unique.

Index

A data structure that stores the position of each record by key value, allowing fast searching and sorting. Indexes speed up searches but take up space and slow down inserts and updates.

Exam technique

  • Tip:For a flat file limitations question, give one distinct point per mark and tie each to the scenario's data: repeated (redundant) data, copies that become inconsistent, a larger file, slower searching, and being harder to maintain or extend. A flat file also cannot hold several related items per record (e.g. several students per class) without repeating data.
  • Tip:When drawing ER diagrams use the OCR symbols from appendix 5f, and label each entity clearly with a SINGULAR name (CUSTOMER, not CUSTOMERS). A relationship described in words instead of drawn earns nothing. Once a link entity resolves a many-to-many, don't also draw a direct line between the two original entities.
  • Tip:To complete an ERD from given tables, read the keys. Where one table's primary key appears as a foreign key in another table, the relationship is usually one-to-many, with the crow's foot at the table holding the foreign key (one-to-one only if that foreign key is also unique). Don't make every link one-to-one or many-to-many.
  • Mistake:Saying a foreign key must be unique. It is unique in its OWN table (as a primary key), but can appear many times in the linked table.
  • Mistake:Calling a relational database 'several linked databases', or saying a foreign key links two databases. It is ONE database of linked tables. Also don't confuse a secondary key (a field indexed for searching, which need not be unique) with a foreign key (a field that links tables).

Past exam questions

  • June 2026Paper 1Q3(a)4marks
  • June 2026Paper 1Q3(b)(i)2marks
  • June 2025Paper 1Q8(a)4marks
  • June 2025Paper 1Q8(b)3marks
  • June 2024Paper 1Q79marks
  • June 2022Paper 1Q2(a)(i)1mark
  • June 2022Paper 1Q2(a)(ii)2marks
  • November 2021Paper 1Q1(d)(i)2marks
  • November 2021Paper 1Q1(d)(iii)2marks
  • November 2021Paper 1Q1(d)(iv)5marks
  • November 2020Paper 1Q1(d)(i)4marks
  • November 2020Paper 1Q1(d)(ii)3marks
  • June 2018Paper 1Q3(c)(i)1mark
  • June 2018Paper 1Q3(c)(ii)1mark
  • June 2017Paper 1Q7(a)2marks

Ready to test yourself?

Practise 1.3.2 questions
← Previous topicDifferent uses of hashing1.3.1 Compression, Encryption and HashingNext note →Methods of capturing, selecting, managing and exchanging data1.3.2 Databases

Back to Databases

Databases

Note 1 of 6

  1. 1Relational databases, flat files, keys, entity relationship modelling, normalisation and indexing
  2. 2Methods of capturing, selecting, managing and exchanging data
  3. 3Normalisation to 3NF
  4. 4SQL: interpret and modify
  5. 5Referential integrity
  6. 6Transaction processing, ACID, record locking and redundancy
Topic overview