SQL
Querying real data well. Joins, indexes, and the ideas that turn a slow query into a fast one.
3 articles
Getting data in and out with confidence. SQL ideas and the machinery underneath them, explained step by step.
Querying real data well. Joins, indexes, and the ideas that turn a slow query into a fast one.
3 articles
6 min
A plain-words guide to SQL joins, worked row by row through one small example so you can predict exactly what each join returns.
7 min
A plain-words explanation of database indexes: what they store, how lookups use them, what they cost, and which columns are worth indexing.
28 min
Fifty SQL interview questions with answers and runnable queries on two small tables: joins, grouping, subqueries, window functions, indexes, and design.