Reading a relational schema
A relational schema lists each table and its fields, marks the primary key (underlined) and foreign keys (FK), and shows how tables link.
Understanding Reading a relational schema in QCE Digital Solutions Unit 2
What it does: ProductID is the underlined primary key of the Product table, and Name and Price are ordinary fields. StudentID FK in Order matches the primary key StudentID in Student, so each order links to one student. FK means foreign key. A foreign key holds a value that matches the primary key of another table, which creates the link between the two tables. Count every name inside the brackets: OrderID, CustomerID and OrderDate. The foreign key still counts as a field of this table. The FK sits in the table on the many side and refers to the primary key of the other table.
Common mistakes: StuID in Result is a foreign key to the Student table, so the link must be Result.StuID -> Student.StuID, not to Subject.SubID. Title is not the primary key. BookID uniquely identifies each book, so it should be marked PK: Book(BookID PK, Title).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 234–285) and word search (Modules 234–409).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
Table(PK, field, FK)Fill in the Blanks
Spot the Error
Student with a class code? Join your class →