Augment Education
  • Blog
Log inStart free
augment

Augment Education

IB Diploma revision built around the syllabus.

contact@augment-education.com

Product

  • Features
  • Question bank
  • Quick fire
  • Worksheets
  • Flashcards
  • Notes
  • Subjects
  • What's new

Learn

  • IB guide
  • Booklets, explained
  • Blog
  • Free tools
  • Grade calculator
  • Subject checker

Company

  • About
  • Help
  • For parents
  • For teachers
  • Student stories
  • Comparisons

Augment Education is developed independently of the International Baccalaureate Organization and is not endorsed by it. “IB” and “International Baccalaureate” are its trademarks.

© 2026 Augment Education. All rights reserved.

PrivacyTerms
  1. Subjects
  2. Computer Science
  3. A3 Databases

A3 Databases

How database fundamentals, design, SQL programming and (at HL) alternative databases and data warehouses fit together, which parts are HL only, and how databases link to the rest of the course.

  • IB Computer Science
  • SL and HL

What A3 covers

From the subject guide: what you need to know and be able to do.

Designing relational databases, normalising them and querying them with SQL.

4 subtopics in Databases

Each one has its own page once something is published for it.

  1. A3.1Database fundamentals87 questions · notes · 50 quick fire
  2. A3.2Database design91 questions · notes · 60 quick fire
  3. A3.3Database programming98 questions · notes · 70 quick fire
  4. A3.4Alternative databases and data warehousesHL only43 questions · notes · 60 quick fire

An overview of A3 Databases

4 min readLast reviewed 14 Oct 2026

Introduction

Databases explains how organisations store large amounts of structured data so that many people can find it, change it and trust it at the same time. It covers the relational model, the design of a database from an entity–relationship diagram to normalised tables, and Structured Query Language (SQL) for building, querying and updating it; at HL it adds the alternatives to a single relational database.

Any application with user accounts, from a school's records to an online shop, keeps its data in a database. A good design stores each fact once and lets the database management system enforce rules, such as every order belonging to a real customer, so the data stays consistent. A poor design stores facts many times, and every copy that is missed in an update leaves the data contradicting itself.

How the subtopics connect

The subtopics follow the life of a database from idea to use. Subtopic A3.1, Database fundamentals, sets out the relational database: tables of records and fields, primary keys and foreign keys that link tables, integrity rules, concurrent access, and the limitations of the model. Subtopic A3.2, Database design, turns a real situation into that structure through schemas, entity–relationship diagrams, data types and normalisation to third normal form, and weighs when denormalising is worth its cost.

Four boxes in a column: A3.1 Database fundamentals, A3.2 Database design, A3.3 Database programming, shaded HL A3.4 Alternative databases. Arrows: the relational model is designed; the design is built in SQL; beyond one relational database. Dashed links: B3, B2, A2.4, A4.
Fundamentals give the model, design applies it to a real situation, and SQL builds and uses the result. The shaded box is HL only; dashed boxes are other topics.

Subtopic A3.3, Database programming, builds and uses the design with SQL: data definition and data manipulation statements, queries that join two tables, grouping, updates and indexes. Subtopic A3.4, Alternative databases and data warehouses, is HL only and goes beyond one relational database: NoSQL, cloud, spatial and in-memory databases, data warehouses for reporting, online analytical processing and data mining, and databases distributed across several sites.

Subtopics at SL and HL

Two subtopics are entirely SL and HL, one is entirely HL, and one contains HL-only statements. HL students study those extra statements inside the SL page on database programming, where each has a heading marked "(HL only)" and opens with an HL box.

Subtopic

Level

HL-only statements inside it

A3.1 Database fundamentals

SL and HL

None

A3.2 Database design

SL and HL

None

A3.3 Database programming

SL and HL

A3.3.4: calculations with the aggregate functions AVG, COUNT, MAX, MIN and SUM. A3.3.5: virtual and materialised views. A3.3.6: transactions, the ACID properties and the commands BEGIN TRANSACTION, COMMIT and ROLLBACK

A3.4 Alternative databases and data warehouses

HL only

The whole subtopic: types of database, data warehouses, OLAP and data mining, distributed databases

The boundary inside A3.3 falls in the middle of grouping. GROUP BY and HAVING are SL and use COUNT(*) to count the rows in each group; the full set of aggregate functions, and calculations with them, are HL.

Links to other topics

Databases connect closely to programming. SQL is a declarative language, unlike the Python and Java of topic B2, and real applications combine the two: a program sends SQL to the database and processes the rows that come back. Objects in topic B3 resemble records, but they hold references and inheritance that tables cannot store directly, so programs need a mapping layer between the two.

Computational thinking: Normalisation is decomposition applied to data. One large table full of repeated facts is split into smaller tables, each about a single entity, and the foreign keys record how the parts fit back together.

The word "normalisation" has a second meaning in subtopic A4.2, Data preprocessing (HL), where it means rescaling numeric features to a common range before machine learning. The two ideas are unrelated. Data mining in subtopic A3.4 uses the same techniques that topic A4, Machine learning, explains, and SQL injection, an HL topic in subtopic A2.4, attacks databases through web forms.

Linking question: How far does a distributed database depend on the network that links its sites (A2)? Every query that needs data from another site, and every transaction that must update copies in several places, waits for messages across the network. Latency slows those operations, and a broken link can force the system to choose between refusing updates and letting the copies disagree for a while.

Exam tip

Databases is examined in Paper 1, Section A, where you write SQL by hand. Expect to construct ER diagrams, tables, normalised designs and queries, to explain the differences between normal forms and to evaluate denormalisation. HL papers add parts on aggregate functions, views, transactions and the content of A3.4, often built on the same tables as the SL parts of the question.

Flashcards for A3

The official decks for this part of the syllabus.

  • A3.1 Database fundamentals251 cards
  • A3.2 Database design278 cards
  • A3.3 Database programming315 cards
  • A3.4 Alternative databases and data warehouses337 cards

On this page

  • Syllabus points
  • Subtopics
  • Notes
  • Flashcards

Published for A3

Exam-style questions
260
Notes pages
5
Quick-fire questions
255
Key terms
142
Counted on 20 October 2026Open it in Augment

More of IB Computer Science

  • IB Computer ScienceThe Computer Science syllabus, assessment and what Augment has for it.

Carry on with A3 in Augment

With a free account, Augment remembers where you stopped and what you have practiced.

Start freeOpen A3 in Augment