ÌÇÐÄVlog

Please consent to cookies to view content.

' ); iframeDoc.close(); } } } } } const observer = new MutationObserver(switchSrc); observer.observe(document.documentElement, { childList: true, subtree: true, }); })();

ÌÇÐÄVlog

Last updated

28 November 2026

pptx, 237.65 KB
pptx, 237.65 KB
docx, 90.74 KB
docx, 90.74 KB
pdf, 116.8 KB
pdf, 116.8 KB
docx, 90.99 KB
docx, 90.99 KB
pdf, 119.95 KB
pdf, 119.95 KB
docx, 90.31 KB
docx, 90.31 KB
jpg, 135.36 KB
jpg, 135.36 KB

This lesson covers all the SQL DML in the 9618 syllabus using one small, memorable database: students, clubs and memberships. Queries build up from SELECT, WHERE and ORDER BY, to COUNT, SUM and AVG with GROUP BY, to a two-step INNER JOIN through a link table.

It then changes the data with INSERT, UPDATE and DELETE, with a spot-the-mistake slide on the missing WHERE clause that wipes a whole table. Every query runs for real in Python with sqlite3, so students get instant feedback.

What’s included

  • 17-slide editable teacher PowerPoint, with speaker notes on every slide
  • Python starter code with guided TODOs and the full tested solution, in a Word file ready to copy into your editor (including a join-and-count extension)
  • Student worksheet (32 marks) in Word and PDF: key terms, predicting query output, completing a join, fixing SQL errors and exam-style query questions
  • Full answer key in Word and PDF

How the lesson runs

  • A starter reading a simple query
  • The example tables
  • Key vocabulary: SELECT, WHERE, ORDER BY, GROUP BY, aggregates and joins
  • Worked SQL: filtering and sorting, aggregates, INNER JOIN, and changing data
  • A spot-the-mistake slide on UPDATE without WHERE
  • A ‘predict the output’ mini task with answers
  • A full SQL summary
  • A Python/SQL task, exam-style question with mark scheme, and exit ticket

Written for Cambridge International AS & A Level Computer Science (9618), Paper 1 Theory Fundamentals, and pitched at AS Level (Year 12). Everything is editable, so you can adapt it for your own classes.

Please leave a review if you find it useful. It really helps!

Reviews

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

to let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.