
SQL: joins, grouping and updates lesson for Cambridge International AS & A Level Computer Science (9618), with editable PowerPoint slides, a student worksheet and full answers. SQL can combine tables with JOIN, group results with GROUP BY, and change rows with INSERT, UPDATE and DELETE.
Written for Paper 1 Theory Fundamentals, section 8 Databases (syllabus 8.3.5). Everything is editable, so you can adapt it to your class.
What’s included- PowerPoint lesson (13 slides) with teacher notes on every slide
- Student worksheet (Word), ready to print or edit
- Answer sheet (Word) with mark-scheme style answers for every question
By the end of the lesson students can:
- Write queries that join two tables with INNER JOIN
- Use GROUP BY with COUNT, SUM and AVG to summarise groups of records
- Maintain data with INSERT INTO, UPDATE and DELETE FROM
Worksheet sections: A. Match the statements; B. Predict the output; C. Write the SQL; D. Exam-style questions; E. Challenge
Every lesson includes- Learning goals and a starter question
- Clear explanations, diagrams and worked examples (Cambridge pseudocode, as in the 2027–2029 pseudocode guide, with Python alongside)
- A quick check and a “your turn” task linked to the worksheet
- Exam-style questions with marks, and an exit ticket
- PowerPoint (.pptx) and Word (.docx), fully editable
- Works in PowerPoint and Google Slides
- Calm, muted sixth-form design, consistent across the whole course
These are independent resources written for the Cambridge International AS & A Level Computer Science syllabus (9618) for examination in 2027, 2028 and 2029. They are not produced or endorsed by Cambridge University Press & Assessment. Syllabus point numbers are our own numbering of the syllabus statements.
More lessons in this series- Previous lesson: SQL: querying data – A Level Computer Science 9618 lesson
- Next lesson: Abstraction and decomposition – A Level Computer Science 9618
- Save with the bundle: Databases – A Level Computer Science 9618 (7 lessons)
Last updated: November 2026.
Something went wrong, please try again later.
This resource hasn't been reviewed yet
To ensure quality for our reviews, only customers who have purchased this resource can review it
Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.