Learn databases
A free learning path through 57database tutorials on this site.
Almost every application needs to store data somewhere, and that somewhere is usually a database. Knowing how databases work, and how to talk to them with SQL, is one of the most useful skills you can learn as a developer.
This page organizes my database tutorials into a learning path. Start with the fundamentals to understand the relational model, then learn SQL, and finally pick a database like PostgreSQL or SQLite and go hands-on.
Free resources
- SQL Handbook — the free ebook, downloadable as PDF and EPUB
- SQL & Databases Quiz Course — test yourself with a free quiz course, no signup
Start here: database fundamentals
What a database is, when you need one, and the theory behind relational databases.
Learn SQL
The language of relational databases: creating tables, inserting and querying data, joins, and views.
PostgreSQL
My go-to relational database: installing it, managing users and databases, and where to host it.
SQLite and MySQL
SQLite is the simplest database you can use, and MySQL is one of the most popular. The basics of both.
NoSQL and databases in practice
Beyond relational: MongoDB, ORMs like Prisma, and practical topics like storing passwords safely.
database tools
Free browser-only tools to practice and get things done faster.
More database tutorials
This learning path is a curated selection. Browse all 57 database tutorials on this site.