SHSubjectHub
Dashboard
SELECT

SQL Studio

Write and test SQL queries on real tables.

SQL Studio in use
About SQL Studio, and what schools get

Free SQL practice for GCSE Computer Science

SQL Studio is where pupils learn SQL by running it. They write queries against a sample database of pets and their owners and see the results straight away, then move on to exam-style questions marked as they go. It runs in the browser on school desktops and Chromebooks, and nobody needs an account to use it.

What pupils can do with it

  • A database to explore. Pets and Owners tables, linked by an owner ID, ready for queries from a simple SELECT * to a join across both tables.
  • The SQL the exam asks for. SELECT, FROM, WHERE with AND, OR and LIKE, and ORDER BY, plus COUNT, SUM, AVG, MAX, MIN and GROUP BY for pupils who want to go further.
  • Results straight away. Queries run in the browser and show their results as a table, with a quick reference to hand.
  • Exam-style practice. Questions on databases and SQL from the OCR J277 topic, marked as pupils answer them.

Learn it, then practise

A step-by-step Learn page covers SELECT, WHERE, ORDER BY, LIKE and wildcards, and ends with a quick quiz before the practice questions.

  1. Learn SQL (SELECT, WHERE, ORDER BY, LIKE)
  2. Practice questions (Exam-style, marked as you go)

Matched to GCSE Computer Science

The practice questions come from OCR J277 topic 2.6 (databases and SQL), and the queries pupils write are the ones GCSE papers ask for, including AQA's. It is also a quick, safe place for A-Level pupils to try a query before writing it in an answer.

Common questions

Is it free, and do pupils need an account?
It is free, with no account. Queries run in the browser and practice answers are marked straight away. With a school account, a pupil's practice results are saved to their topic progress.
Do pupils need to install a database?
No. The database lives in the page, so there is nothing to install or set up, and nothing pupils do can break it.
Which exam boards does it fit?
The practice questions follow OCR J277. The SQL itself (SELECT, FROM, WHERE, ORDER BY, LIKE) is the same for AQA GCSE Computer Science.
What does a school account add?
Saved practice results, GCSE Computer Science courses with SQL question banks, and a dashboard showing where a class is losing marks.

What a school account adds

SQL Studio stays free and is one of about twenty tools. A school account adds GCSE Computer Science courses and question banks, saved practice results, and a dashboard showing where a class needs help.

Also free: the Flowchart Studio, Logic Gate Studio, online Python editor and every other free tool.