IGCSE Topic 9: Databases
0478 & 0984 Revision Notes
Learn how databases organise information and how SQL turns a question into a precise result. Each lesson builds one clear step in the journey from stored data to useful output.
Topic 9 of Cambridge IGCSE Computer Science (0478 and 0984) covers single-table database structure—including fields, records, data types, and primary keys—alongside writing SQL scripts using SELECT, FROM, WHERE, ORDER BY, SUM, and COUNT to query and summarise stored data.
Work through seven concise, step-by-step lessons that guide you from how a database table organises information to writing accurate SQL queries for exam questions.
A database stores the facts. SQL asks the question.
Topic 9 keeps the same visual teaching pattern throughout so students can focus on meaning rather than relearning the layout.
Your Topic 9 learning journey
Begin with the structure of a database, then build SQL one command at a time.
Database Structure
Understand tables, fields, records and why a primary key must uniquely identify each record.
Open lesson →SQL
Meet the language used to ask a database questions and return useful information.
Open lesson →SELECT and FROM
Choose which fields to display and identify the table that contains the data.
Open lesson →SELECT, FROM and WHERE
Add a condition so the query returns only records that match the requirement.
Open lesson →ORDER BY
Sort query results into a useful order, with ascending order used by default.
Open lesson →SUM
Add all numerical values in a selected field and return one calculated total.
Open lesson →COUNT
Count how many records match the query and return one clear numerical answer.
Open lesson →