SQL
Queries you can watch run — joins, groups, indexes, transactions.
SQL progress0 / 10
- SELECT BasicsName the columns you want; the table hands them back.4m
- WHERE and FilteringFilter in the database, not in your application loop.4m
- ORDER BY and LIMITSort once in the engine, then take only the slice you show.4m
- Aggregations & GROUP BYFold many rows into one number per group.5m
- INNER and OUTER JOINsMatch rows across tables — and decide who survives a miss.6m
- SubqueriesA query inside a query, answered before the outer one runs.5m
- IndexesA second, sorted copy of one column that ends the full scan.6m
- Transactions & ACIDAll of the writes land, or none of them do.6m
- Query Execution OrderSQL is written top-down but evaluated in a different order.5m
- The N+1 Query ProblemOne query for the list, then one more for every single row.5m