▲ Camp45
Sign inTry free for 7 days

Computer Science · Theme A: Concepts of computer science

A3.3 — Database programming

Computer Science · SL / HL · syllabus-mapped notes

  1. CS_A3.3.1

    SQL data language types (DDL and DML)

    How DDL defines structures and DML manipulates data.

    Full note — free

    SQL (Structured Query Language) is split into sub-languages. You must be able to outline the difference between the two data language types that must be covered. Data definition language (DDL) : statements that define or change the structure of the database. Commands such as CREATE, ALTER and DROP build or modify tables and other objects. Data manipulation language (DML) : statements that work with the data held inside those structures. Commands such as SELECT, INSERT, UPDATE and DELETE retrieve and change the rows of data. Note: SQL syntax may vary between different database systems, but the DDL versus DML distinction holds.

  2. CS_A3.3.2

    Queries across two tables

    Joins, filtering, pattern matching and ordering with named SQL commands.

    You must be able to construct queries between two tables using joins, relational operators, filtering, pattern matching and ordering. SELECT ... FROM ... JOIN : choose columns and combine two related tables on a matching key. SELECT Student.name, Course.title FROM Student JOIN Course ON Student.courseID …

    Read the full note free for 7 days →

  3. CS_A3.3.3

    Updating data with SQL

    INSERT, UPDATE, DELETE and the cost of updating indexed columns.

    You must be able to explain how SQL updates data in a database using three DML statements. INSERT INTO : add new records to a table. INSERT INTO Student (name, grade) VALUES ('Mia', 7); UPDATE ... SET : modify existing data, filtered by WHERE. UPDATE …

    Read the full note free for 7 days →

  4. CS_A3.3.4

    Aggregate calculations

    AVERAGE, COUNT, MAX, MIN, SUM on grouped data.

    This card is HL only. You must be able to construct calculations using SQL's aggregate functions on grouped data to aid reporting and decision-making. COUNT , SUM , AVERAGE , MAX , MIN : summarise many rows into a single value, usually per group. SELECT …

    Read the full note free for 7 days →

  5. CS_A3.3.5

    Database views

    Virtual and materialized views and what they are used for.

    This card is HL only. A view is a stored query presented as a virtual table. You must be able to describe the two kinds. Virtual view : stores only the query definition and is computed fresh each time it is used, so it always …

    Read the full note free for 7 days →

  6. CS_A3.3.6

    Transactions and data integrity

    ACID properties and TCL commands.

    This card is HL only. A transaction is a group of operations treated as one unit. You must be able to describe how transactions maintain data integrity through the ACID properties. Atomicity : the whole transaction succeeds or none of it does; partial changes are …

    Read the full note free for 7 days →

This topic has 6 full notes in Camp45 — with flashcards, a quiz and Sherpa, the AI tutor, on every one. Try 7 days free →
Sherpa, your Camp45 mountain guide
Hi, I'm Sherpa — your IB mountain guide.
I take you from your material to the syllabus summit. Ask me anything, hand me your essay or your notes — I'll turn it into your system.
💬
Ask me anything
Any of the 26 subjects — I answer from the syllabus.
📝
Essay check
I grade your draft and flag what reads like AI.
📄
Upload your notes
Handout or textbook page → your own syllabus map.
🃏
Flashcards & decks
I turn any topic into a deck you can drill.
3 of 3 free questions — no sign-up.
📝 Check your essay before you hand it in
Sherpa grades it against the IB criteria and flags passages that read like AI — so you can fix them first.

Full notes + a tutor. Every subject, one payment.

Camp45 turns the syllabus into notes that give you exactly what the exam asks — so you study smarter, not harder.

Monthly

€19/mo

All the notes, cancel anytime

Go monthly
Most popular

Full-year access

€149

Every subject, paid once

Get full-year access

Both diploma years

€229

Both years, paid once

Get both years

Syllabus-exact notes

Every understanding statement written out in full — nothing more than the exam asks, nothing left out.

A tutor that answers from the syllabus

Ask anything and it answers from the exact points you are studying.

Every subject, one payment

All 26 IB subjects, SL & HL, covered by a single payment — no per-subject fees.

No credit card. Try the free Biology preview before you commit.