zip, 569.13 KB
zip, 569.13 KB

GCSE Computer Science SQL free lesson: a complete, editable 60-minute lesson on SELECT, FROM and WHERE queries, with AND, OR and comparison operators, a worksheet with answers and a demo of the SQL Practice Tool for live query practice.

Full version: https://www.tes.com/teaching-resource/gcse-computer-science-sql-and-databases-aqa-ocr-practice-tool-13673655

Why this lesson? Writing a correct SELECT query is the SQL skill both AQA and OCR expect at GCSE, and pupils lose marks on small slips: missing quote marks around text, a missing comma, or writing OR 11 instead of repeating the field. This lesson builds queries step by step and lets pupils test every one.

Lesson flow: a Do Now on keys; SELECT and FROM; WHERE with =, <>, <, >, <= and >=; AND and OR; predict-then-run tasks; challenges in the tool demo; a worksheet; an exit ticket. Full speaker notes make it usable as a cover lesson.

Mistakes it tackles: text without quote marks (WHERE Room = IT3); == instead of =; a missing comma between fields; OR without repeating the field; and forgetting that text matching is case-sensitive. The tool explains each of these in plain English when a pupil makes it.

Differentiation: the worksheet starts with read-the-query tasks and builds to writing full queries with AND and OR; the teacher notes suggest extra challenges for pupils who finish early. It suits a first SQL lesson in Year 10 or a quick Year 11 revision lesson.

SQL Practice Tool demo (offline HTML): pupils type SELECT queries and run them on a fictional School Clubs database, with clear error messages, plus two levels of auto-checked challenges with hints. Works on a whiteboard, laptop or phone; nothing is saved or sent.

What’s included

  • Teacher slides (PowerPoint + PDF): plan, answers and speaker notes
  • Student slides (PowerPoint + PDF)
  • Worksheet with the database tables and seven tasks (Word + PDF)
  • Teacher notes with all answers (Word + PDF)
  • Tool demo (HTML) and a START HERE page

Time and materials: one 60-minute lesson; no database software needed.

Formats: PowerPoint, Word and PDF; the demo opens in any browser. UK spelling. Years 10 and 11.

Specification: AQA GCSE Computer Science 8525 3.7.2; OCR J277 2.2.3. Not endorsed by AQA or OCR.

Related: GCSE Computer Science SQL & Databases: AQA, OCR + Practice Tool (full version: six lessons, keys, ORDER BY, two-table queries, INSERT, UPDATE, DELETE, validation, an assessment and the full tool).

Free for classroom use. Last updated: 19/11/2026 (first release).

The full version is available from the same author on Tes: https://www.tes.com/teaching-resource/gcse-computer-science-sql-and-databases-aqa-ocr-practice-tool-13673655

Creative Commons "NoDerivatives"

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 downloaded 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.