Databases & SQL Roadmap

From your first SELECT to schema design, indexing and transactions.

10 milestones · ~100 hours total

  1. 1

    The relational model

    ~6h

    Tables, keys, relationships and why data is structured this way.

    Practice this →
  2. 2

    SQL basics

    ~10h

    SELECT, WHERE, ORDER BY, LIMIT, INSERT, UPDATE and DELETE.

    Practice this →
  3. 3

    Joins and subqueries

    ~12h

    INNER/LEFT/FULL joins, subqueries and set operations.

    Practice this →
  4. 4

    Aggregation and window functions

    ~12h

    GROUP BY, HAVING, COUNT/SUM/AVG and window functions like running totals.

    Practice this →
  5. 5

    Normalisation and schema design

    ~10h

    1NF–3NF, entity-relationship thinking and when to denormalise.

    Practice this →
  6. 6

    Indexing and query plans

    ~12h

    B-tree indexes, covering indexes, EXPLAIN and finding slow queries.

    Practice this →
  7. 7

    Transactions and isolation

    ~10h

    ACID, locks, deadlocks and isolation levels.

    Practice this →
  8. 8

    NoSQL overview

    ~8h

    Document, key-value, column and graph stores; when each is a good fit.

    Practice this →
  9. 9

    Design a real schema

    ~12h

    Model a small app (orders, library, bookings) end to end.

    Practice this →
  10. 10

    Performance, backups and operations

    ~8h

    Connection pooling, replication, backup/restore and monitoring.

    Practice this →