All guided courses

Guided course

Learn SQLite step by step

Read and change data with SQL, using a real SQLite running in your browser.

A real SQLite database runs inside your browser tab. Nothing to install.

4
Topics
22
Lesson screens
10
Hands-on tasks

No account and no install needed for the first topic.

Level 1: Beginner: reading and changing data

  1. 1. Tables and SELECT

    Free to try

    What a table is and how to read from one.

    • A table holds rows
    • Choosing columns
    • Your turn: two columns · task
    • Naming a column in the result
    • Your turn: a new heading · task
  2. Keep only the rows you are interested in.

    • WHERE keeps matching rows
    • Your turn: one city · task
    • Numbers, AND, OR and BETWEEN
    • Your turn: a range · task
    • Patterns and missing values
    • Your turn: missing values · task
  3. Put rows in order and take only the first few.

    • ORDER BY sorts the result
    • Your turn: highest first · task
    • Sorting by more than one column
    • LIMIT takes the first rows
    • Your turn: the top three · task
  4. INSERT, UPDATE and DELETE, and how to use them safely.

    • INSERT adds a row
    • Your turn: add a student · task
    • UPDATE changes rows
    • Your turn: change one row · task
    • DELETE removes rows
    • Your turn: remove one row · task

The level ends with a ten-question quiz. Score 70% to earn the level badge.

More levels for this course are being written.

How a guided course works

  • One screen at a time

    Each topic is a short run of screens. Read a little, then do it yourself in the editor beside the lesson.

  • Tasks that are checked

    Your answer is run and compared with a model answer, so you know it works, not just that it looks right.

  • A quiz opens the next level

    Ten questions at the end of a level. Score 70% and the next level opens. Miss it and you see which topics to review.

  • Your place is saved

    With a free account your progress, your answers and your badges are kept, on any device.

  • A tutor that stays private

    The optional AI tutor runs on your own computer through the free desktop app. Your code is not sent to us.