The Classroom Archive: Finding Older Lessons by Topic
Lessons on this site do not expire, but they do get updated. This archive groups pages by topic so you can find a lesson you read before, or fill a gap you skipped. Each group starts with the gentlest page.
First steps
- Free web book: what a database is, the big picture in six short chapters.
- Why your app should not just save data to a text file.
- How to create your first SQLite database and table.
Tables and keys
- Designing your first relational database.
- The complete read on keys: primary, foreign and composite.
- Constraints as safety rails: NOT NULL, UNIQUE and CHECK.
- Normalisation basics in three takeaways.
Writing queries
- A chaptered guide to SELECT, from one table to grouped results.
- Twelve small wins when writing WHERE clauses.
- Subqueries and CTEs for beginners.
Joining tables
- INNER and LEFT JOIN, one small step at a time.
- RIGHT and FULL OUTER JOIN, and why you rarely need them.
Connecting from code
- How to connect a Python script to SQLite.
- The thorough guide to database drivers in four languages.
- Following one web form all the way to the database.
Working safely
- One-page brief: SQL injection.
- Rolling out placeholders across an existing project.
- Back up your practice database before you experiment.
How lessons are updated
When a database release changes how something works, we update the lesson rather than adding a new page beside it, so the archive always shows the current version. Pages that mention a version number, such as a SQLite release where a feature arrived, say so in the text. If you followed an older copy of a lesson and something no longer matches, the page itself is the place to check first.
Finding something not listed here
| You want | Try |
|---|---|
| Every page on the site | The site map |
| A word you do not know | The glossary |
| A suggested order | The reading path |
| Short blog posts | The blog index |
A tip for revision
Before an exam or interview, pick one page from each group above and try its examples again without looking at the answers. The groups where you hesitate are the ones to reread. Revisiting a topic after a few weeks is one of the most effective ways to make it stick, so the archive is meant to be used again and again, not just once.
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.