If you’ve ever tried to answer a simple question like “Which students are enrolled in Chemistry?” and your database answered back with two separate tables and a cold silence, you’ve met the real reason IB Computer Science teaches joins.
Relational databases are neat on purpose. They split information into multiple tables so you don’t repeat the same facts again and again. But exams don’t reward neat storage. They reward meaningful retrieval. That’s where SQL joins step in: they let you combine scattered pieces of truth into one result you can actually explain.

Quick join checklist for IB Computer Science
Before you panic about syntax, check these five things (this is what examiners really care about in IB Computer Science):
-
Are the tables related (one-to-many, many-to-many)?
-
Which field is the primary key?
-
Which field is the foreign key?
-
Do you want only matching records, or all records from one side?
-
Can you describe what rows will be included or excluded?
If you want a wider databases map first, use A. Databases (Topic Hub) and the A3 Databases (New Syllabus Hub).

