SQL
Queries you can watch run — joins, groups, indexes, transactions.
SQL progress0 / 15
- 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
- Window FunctionsAggregate across rows without collapsing them.6m
- CTEs and RecursionName a result, then build the next one on top of it.6m
- Composite IndexesColumn order decides which queries the index can serve.6m
- Isolation LevelsHow much of another transaction's mess you are allowed to see.6m
- Reading a Query PlanStop guessing why it is slow — ask the engine what it did.6m
Quiz yourself: 3 questions from this module
1 / 3