Resources by Learning Stage, From First Table to First App
Resources are most useful at the right moment. This page arranges them by learning stage. For each stage there is one page on this site to start with, one to practise with and a pointer to the official documentation to use when you want the full detail.
Stage 1: what a database is
| Start with | Practise with | Official detail |
|---|---|---|
| Free web book: what a database is | Create your first SQLite table | The SQLite documentation's overview of SQL |
You are ready to move on when you can explain tables, rows, columns and primary keys to a friend.
Stage 2: reading data
| Start with | Practise with | Official detail |
|---|---|---|
| A chaptered guide to SELECT | Twelve small wins with WHERE | The SELECT reference page for your database |
Ready when you can filter, sort, limit and count without looking up the syntax.
Stage 3: designing tables
| Start with | Practise with | Official detail |
|---|---|---|
| Designing your first relational database | The three relationship shapes | The CREATE TABLE and constraints pages in your database's manual |
Ready when you can design two or three linked tables for a small idea and explain each key.
Stage 4: joining tables
| Start with | Practise with | Official detail |
|---|---|---|
| INNER and LEFT JOIN step by step | The December practice calendar, week 3 | The joins section of the PostgreSQL tutorial |
Ready when you can predict which rows a LEFT JOIN will return before running it.
Stage 5: changing data safely
| Start with | Practise with | Official detail |
|---|---|---|
| A first look at transactions | CRUD do and don't | Your database's documentation on transactions |
Ready when you instinctively test UPDATE and DELETE with a SELECT first.
Stage 6: connecting from code
| Start with | Practise with | Official detail |
|---|---|---|
| Drivers in four languages | A four-week CRUD plan | Your driver's getting-started page |
Ready when every query in your code uses placeholders and the password lives outside the code.
Stage 7: your first app
| Start with | Practise with | Official detail |
|---|---|---|
| Putting a database into your first web app | Following one web form to the database | Your web framework's database tutorial |
How to use this page
Do not rush the stages. Most learners benefit from spending real time on stages 2 to 4, because almost everything later builds on them. If you get stuck, go back one stage; the problem is usually there. For definitions along the way, keep the glossary open in another tab.
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.