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:
- Save the page from the browser menu as a complete web page or as a PDF using "print to PDF".
- Reading lists or offline modes in some browsers keep a copy you can open without a connection.
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:
- Install the
sqlite3tool or use Python's built-insqlite3module. - Create a practice folder with
schema.sql,seed.sqland anexercisesfolder. - 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:
- queries that worked, with a comment on what they do
- error messages you met and what fixed them
- questions to look up when you are next online
That file becomes your own reference book.
Offline study plan
| Session | Saved lesson | Offline exercise |
|---|---|---|
| 1 | Web book: what a database is | Create one table and five rows |
| 2 | Chaptered guide to SELECT | Write five SELECT queries |
| 3 | Complete read on keys | Add a second table with a foreign key |
| 4 | INNER and LEFT JOIN | Join your two tables both ways |
| 5 | A first look at transactions | Try 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