roadmap.sh / Single-Page Timeline Experience

SQL & Databases Developer Roadmap

Follow our day-by-day structured curriculum. Click on any active timeline node to instantly unpack the textbook theory, study beginner analogies, and complete sandboxed WASM database tasks right on screen!

ROADMAP PROGRESS
0%
0 of 40 Days Conquered
DAY 1easyDB: shopmart

SQL SELECT & Projection

Master the entry point of data extraction: querying columns and renaming with AS.

Open Day 1
DAY 2easyDB: shopmart

WHERE Filters & Conditional Logic

Learn to surgically extract specific rows of data using conditional filtering.

Locked
DAY 3easyDB: spotifylite

ORDER BY & LIMIT Sorting

Sort your query results and cap outputs to show top rankings easily.

Locked
DAY 4mediumDB: shopmart

SQL Aggregations & COUNT

Compile high-level math summaries like sums and averages over row matrices.

Locked
DAY 5mediumDB: spotifylite

GROUP BY & HAVING Aggregations

Segment your summaries across specific categories and filter aggregated stats.

Locked
DAY 6mediumDB: shopmart

INNER JOIN Table Relations

Unlock the power of relational databases: link multiple tables together.

Locked
DAY 7mediumDB: shopmart

LEFT OUTER Joins

Preserve left-hand records and locate missing or orphaned data relationships.

Locked
DAY 8hardDB: staffcorp

Subqueries & Nested Compiles

Write queries inside query blocks to form complex in-memory compilers.

Locked
DAY 9hardDB: staffcorp

Common Table Expressions (CTEs)

Write clean, highly readable, multi-stage pipelines using the WITH clause.

Locked
DAY 10hardDB: staffcorp

Advanced Window Functions

Compute moving averages, cumulative sums, and department rankings.

Locked
DAY 11mediumDB: shopmart

DDL: Tables & Data Types

Define relational physical table blueprints, data types, primary keys, and constraints.

Locked
DAY 12mediumDB: shopmart

Relational Integrity Constraints

Enforce primary keys, foreign keys, unique tags, check thresholds, and defaults.

Locked
DAY 13easyDB: shopmart

DML: Insert & Identity Management

Populate table entities with single or multiple row records instantly.

Locked
DAY 14mediumDB: shopmart

DML: UPDATE & DELETE

Mutate existing cell values or eradicate specific rows using surgical WHERE conditions.

Locked
DAY 15hardDB: shopmart

The MERGE Statement (Upsert)

High-performance conditional insert, update, or delete in a single pass.

Locked
DAY 16mediumDB: shopmart

Inner & Outer Joins Review

Master the fundamental differences between strict intersection and outer preservation.

Locked
DAY 17mediumDB: shopmart

Set Operators (UNION vs UNION ALL)

Stack query results vertically and evaluate deduplication performance overhead.

Locked
DAY 18hardDB: staffcorp

Self Joins & Hierarchical Data

Join a table to itself to resolve recursive organizational trees or parent ledgers.

Locked
DAY 19hardDB: staffcorp

Non-Equi Joins & Theta Joins

Link tables across unequal thresholds, date ranges, or salary grade brackets.

Locked
DAY 20hardDB: shopmart

CROSS APPLY & OUTER APPLY

Apply table-valued functions or correlated subqueries to each row of an outer table.

Locked
DAY 21hardDB: staffcorp

Correlated vs Uncorrelated Subqueries

Evaluate subquery caching mechanics and avoid correlated performance collapse.

Locked
DAY 22hardDB: staffcorp

Common Table Expressions (CTEs)

Modular query structuring with WITH, enabling clean, chained data pipelines.

Locked
DAY 23hardDB: staffcorp

Recursive CTEs

Navigate tree structures, bill of materials (BOM), and organizational charts using UNION ALL.

Locked
DAY 24hardDB: staffcorp

Ranking Window Functions

Assign sequential indices, rank ties, and divide rows into equal quartile buckets.

Locked
DAY 25hardDB: apexbank

Analytic Window Functions (LEAD & LAG)

Fetch preceding or subsequent row values to calculate period-over-period growth.

Locked
DAY 26hardDB: apexbank

Running Totals & Moving Averages

Utilize dynamic window framing to calculate cumulative cash flows and trends.

Locked
DAY 27hardDB: shopmart

PIVOT & UNPIVOT

Rotate row-level dimensions into columnar aggregations for cross-tabulation reports.

Locked
DAY 28hardDB: shopmart

JSON & XML Processing

Extract structured relational tables from raw document payloads and webhooks.

Locked
DAY 29mediumDB: shopmart

Variables & Flow Control

Declare local @variables and construct IF...ELSE and WHILE procedural loops.

Locked
DAY 30hardDB: staffcorp

Temp Tables vs Table Variables

Compare scope, physical TempDB logging, and index allocation differences.

Locked
DAY 31hardDB: staffcorp

Stored Procedures (Stored Procs)

Encapsulate complex multi-table business workflows with input/output parameters.

Locked
DAY 32hardDB: shopmart

User-Defined Functions (UDFs)

Eliminate scalar UDF performance bottlenecks and deploy Inline TVFs.

Locked
DAY 33hardDB: staffcorp

Cursors & Iteration (RBAR Refactoring)

Deconstruct row-by-agonizing-row cursors into high-speed set-based logic.

Locked
DAY 34hardDB: apexbank

Structured Error Handling (TRY...CATCH)

Trap runtime execution exceptions and log system error metadata gracefully.

Locked
DAY 35hardDB: apexbank

THROW & Custom Error Generation

Generate custom application alerts and re-throw transactional exceptions.

Locked
DAY 36hardDB: apexbank

ACID Transactions & Rollbacks

Control explicit BEGIN TRAN, COMMIT, and ROLLBACK durability safeguards.

Locked
DAY 37hardDB: apexbank

Isolation Levels & Locking

Evaluate dirty reads, repeatable reads, and row-versioning concurrency.

Locked
DAY 38hardDB: shopmart

DDL & DML Triggers

Query virtual inserted and deleted transition tables inside automated triggers.

Locked
DAY 39hardDB: shopmart

Dynamic SQL & Injection Prevention

Parameterize runtime query strings using sp_executesql to thwart injection attacks.

Locked
DAY 40hardDB: staffcorp

Query Tuning & Execution Plans

Inspect B-Tree index seeks, covering index scans, and eliminate parameter sniffing.

Locked