Please log in to access this page.
← All roadmaps
Data · Very High demand
SQL & Databases roadmap
SQL is required for backend, data analyst, and data science roles. Nearly every company stores data in relational databases, and SQL interviews are standard.
beginner
SQL Foundations
About 3 weeks
Topics
- SELECT, WHERE, ORDER BY, LIMIT
- Filtering with AND, OR, NOT, LIKE, IN, BETWEEN
- Aggregate functions: COUNT, SUM, AVG, MIN, MAX
- GROUP BY and HAVING
- Handling NULLs and data types
- INSERT, UPDATE, DELETE safely
- Sorting, pagination, and DISTINCT
Free resources
SQLBolt
course
SQLBolt · Interactive lessons with exercises.
Intro to SQL
course
Kaggle Learn · Query real datasets in the browser.
Mode SQL Tutorial
course
Mode · Business-focused SQL tutorial.
Learn SQL in 10 Minutes
article
freeCodeCamp · Quick syntax refresher.
Hands-on practice
- Write 50 queries against a sample e-commerce dataset
- Build a movie-ratings database and answer 10 analytics questions
- Normalize a messy spreadsheet into 3 related tables
- Complete SQLBolt lessons 1-10 with all exercises
Milestone checkpoint: You can query confidently: 50 queries written, the movie database answers all 10 questions correctly, and you can explain GROUP BY vs WHERE filtering.
intermediate
Joins, Subqueries and Real Databases
About 5 weeks
Topics
- INNER, LEFT, RIGHT, and FULL joins
- Subqueries and common table expressions (CTEs)
- Window functions: ROW_NUMBER, RANK, LAG, LEAD
- Views and basic indexing
- Transactions and ACID properties
- PostgreSQL types, constraints, and keys
- Loading CSVs with psql and pgAdmin
Free resources
PostgreSQL Documentation
docs
PostgreSQL · Official reference for everything Postgres.
Database Management Systems
course
NPTEL · IIT Kharagpur DBMS course.
PostgreSQL Tutorial
docs
PostgreSQL · Official hands-on tutorial.
SQLZoo
practice
SQLZoo · Interactive tutorials and quizzes.
LeetCode Database Problems
practice
LeetCode · Interview-style SQL problems.
Hands-on practice
- Solve 30 LeetCode database problems
- Rewrite 10 subqueries as CTEs and window functions
- Design a small app schema with keys and constraints
- Load a 1M-row CSV into Postgres and query it
Milestone checkpoint: You write real-world SQL: 30 problems solved, CTEs and window functions used fluently, and your schema has proper keys, constraints, and indexes.
advanced
Database Engineering
About 7 weeks
Topics
- Query optimization and indexing strategies
- Reading EXPLAIN ANALYZE output
- Normalization to 3NF and denormalization trade-offs
- Stored procedures, functions, and triggers
- Backups, replication, and point-in-time recovery
- NoSQL overview: MongoDB documents and Redis caching
- Star schema modeling for analytics
Free resources
Use the Index, Luke
book
Use the Index, Luke · Free book on SQL performance.
PostgreSQL Performance Tips
docs
PostgreSQL · Official optimization guidance.
MongoDB University
course
MongoDB · Free NoSQL courses and labs.
GeeksforGeeks DBMS Articles
article
GeeksforGeeks · DBMS theory for interviews.
freeCodeCamp Database Courses
video
freeCodeCamp · Full database design video courses.
Hands-on practice
- Optimize 5 slow queries: show before/after EXPLAIN plans
- Design a star schema for an analytics dashboard
- Build a Redis cache layer in front of a slow query
- Set up automated Postgres backups and test a restore
Milestone checkpoint: You engineer databases: slow queries fixed with evidence, a working star schema, Redis caching demonstrated, and a tested backup/restore you can explain.
Track your progress
Sign in to mark stages complete and watch your roadmap fill up on your dashboard.
Sign in