SQL From Zero: Query Real Data With Confidence
by Sofia Navarro
Indexes, transactions, JSONB and migrations, taught from the application developer seat.
SN Created by Sofia Navarro
Every bullet below is something you will have built, shipped or be able to explain by the time you finish the last lesson.
7 modules · 51 lessons · 6h 45m of material
7 lessons running 52m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
8 lessons running 1h in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
8 lessons running 1h 4m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
7 lessons running 1h in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
7 lessons running 58m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
7 lessons running 56m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
7 lessons running 55m in total. Each lesson ships with the finished source files and a short written recap, so you can follow along in your own editor and skim the module again later.
Lesson-by-lesson titles, code downloads and exercises live inside the course library you get access to straight after checkout.
7 modules · 51 lessons
6h 45m total length
Short list, and deliberately so. If you meet these you can start today.
Most application developers use PostgreSQL through an ORM and meet it properly only during an incident. Every topic is chosen because it changes a decision you make while writing application code.
Indexes come first and get the most time. B-tree, partial, expression, composite and covering indexes, the column order that decides whether a composite index is used at all, GIN indexes for JSONB and full-text search, and the cost of every index on your write path. You will create indexes, watch the planner ignore them, and work out why.
Transactions follow, treated as application behaviour rather than theory. Isolation levels demonstrated with two concurrent sessions side by side so you actually see a phantom read happen. Row locking, SELECT FOR UPDATE, deadlocks reproduced deliberately, advisory locks for coordination, and the connection and pooling behaviour that decides how your application survives a traffic spike.
The rest covers what applications lean on daily. JSONB with the operators and indexes that make it fast and the schema discipline that keeps it sane. Full-text search good enough that many teams never need a separate engine. Constraints and enums as correctness tools. Migrations that run on a live table without locking it for minutes, including the safe order for adding a column with a default, backfilling and adding a not-null constraint.
Still unsure about something? Write to misteryjj100@gmail.com and a human answers, usually the same working day.
Reviews are written by people who bought this course. We publish the critical ones too.
5.0
Rated 5.0 out of 5Course rating · 1 review
Ndeye Fall
Backend engineer
I had three indexes doing absolutely nothing because the columns were in the wrong order for the queries we run. Twenty minutes of the index chapter, plus a plan I could finally read, and one endpoint went from painful to instant. Written squarely for people who build applications rather than administer servers, which is what I needed.
Python and data engineer
Sofia builds the pipelines that keep analytics teams honest, mostly Python on top of PostgreSQL under uncomfortable load. She teaches schema design, indexing and query planning against anonymised production datasets rather than toy tables, then wires the same data into pandas so the SQL and the Python halves stop being separate skills. Expect to spend real time reading execution plans and rather less time reading slides. She consults on migrations for teams that cannot afford downtime.
One-time payment · lifetime access