Curated developer articles, tutorials, and guides — auto-updated hourly


This project teaches four of PostgreSQL's most powerful features by building something no sane perso...


I'll be showcasing some exciting PostgreSQL work, featuring contributions from Microsoft engineers a...


A few years into working on a utility billing SaaS platform, I ended up owning a feature that sounds...


Most text-to-SQL stacks send the model the whole schema and put the access check after the query is....


A backfill migration used SELECT * and INSERT ... SELECT, so a column added six months later silentl...


A multi-table UPDATE ... JOIN visits each target row at most once, no matter how many joined rows ma...


Your text-to-SQL agent has a failure mode that logs nothing, alerts nothing, and returns a...


Most SQL practice platforms either suffer from 4-second container cold starts or fake Postgres with ...


We added three read replicas to spread the load and made it worse. The same sequential scan now ran ...


One nullable column, added to dodge a migration, ended up as a null check in every query, API respon...


Most quiz apps have one bit of output: right or wrong. For a medical diagnosis game, one bit throws....


Speed is OFFSET's second problem. The first is that page 2 can hand you a row you already read on...


AI has become surprisingly good at PostgreSQL. Give it a schema and it can write a query in seconds....


Army (the subject of this article): https://github.com/PillArmy/army jOOQ (the comparison target):.....


The Postgres job-claim query that silently claims the same job twice A common way to claim...


Some questions can't be answered in one pass. "Which hive produced the most honey?" needs the maximu...


The first time in a SQL class, aggregate functions and window functions can seem confusing because.....


Munchable answers a barcode. You point the phone at a pack, the rules engine checks the ingredient.....


If you have written SQL for more than a week, you have used SUM(), AVG() or COUNT(). They are the...


In Part 1 of the NULL series, we focused on: what NULL represents in a dataset: a value that is...


SQL (Structured Query Language) is the standard language for interacting with relational databases.....


Picture opening Sunrise Supermarket. Before you sell a single item, you build the shelves tables for...


Introduction A student project can work perfectly with friendly input and still be...


A step-by-step walkthrough of Meta's SQL interview question about deduplicating reactions logged acr...