Printing and Saving Lessons for Offline Study

Not everyone has a reliable internet connection while studying, and some people simply concentrate better on paper. Lessons on this site are plain text and code, which makes them easy to use offline. Here is how.

Save pages for offline reading

Most browsers can save a page for later:

PDF copies are handy on tablets and phones, and you can annotate them in many PDF readers.

Print what you need

Long lessons can be printed in parts with the print dialog's page-range option. Printing the glossary and keeping it next to your keyboard is a popular choice.

Practise offline too

You do not need the internet to practise SQL. SQLite runs entirely on your own computer:

  1. Install the sqlite3 tool or use Python's built-in sqlite3 module.
  2. Create a practice folder with schema.sql, seed.sql and an exercises folder.
  3. Copy the code examples from your saved lessons into exercise files.

Our start-of-term setup guide shows a simple layout. Everything works without a connection once SQLite is installed.

Keep a notes file

Alongside your practice database, keep a plain text file of:

That file becomes your own reference book.

Offline study plan

SessionSaved lessonOffline exercise
1Web book: what a database isCreate one table and five rows
2Chaptered guide to SELECTWrite five SELECT queries
3Complete read on keysAdd a second table with a foreign key
4INNER and LEFT JOINJoin your two tables both ways
5A first look at transactionsTry BEGIN and ROLLBACK

When you are back online

Check your saved copies against the live pages occasionally. Lessons are updated when database releases change behaviour, and the live page always has the latest version. Look up the questions in your notes file, and if a lesson did not make sense on paper, tell us through the contact page.

A small tip for printed code

When typing code from paper, watch for characters that look alike: the letter O and zero, the letter l and the number one, and straight versus curly quotes. SQL needs straight quotes; if you copy from a document that converted them, you will see syntax errors.

A free learning page for beginners. Practise on a test database, never on real customer data, and check the official documentation for your database version.

This site does not sell products, subscriptions, consulting or other services, and it has no clients, partners or customer reviews. Anything on this page that reads like an offer is general information only; for questions, use the contact page.

Get new pages by email