Interactive Engineering Tutorials
Pick a course below to jump straight into its visual curriculum—no endless scrolling. Preparing for coding interviews? Open the 13-Step DSA Roadmap →
1. Choose a Live Course (3)
Tap a course to switch syllabusComplete Data Structures & Algorithms (A–Z)
Self-contained visual tutorials with interactive dry-run steppers, Python/C++/Java/JS code, and curated practice problems—covering both the focused Interview Roadmap and extended A–Z CS topics.
Complete Python Course (A–Z for Beginners)
A 100% free, fresher-friendly A–Z Python course built from absolute zero. Learn how Python actually works in memory with custom diagrams, line-by-line execution tracers, beginner trap callouts, and interactive quizzes.
Complete SQL & Databases Course (A–Z)
A 100% free, visual-first A–Z SQL course built for beginners, analysts, and backend engineers. Watch how the database engine executes queries step-by-step with live table tracers, custom diagrams, and interactive quizzes.
Complete SQL & Databases Course (A–Z)
24 Lessons · 8 ModulesFrom Zero to Joins, Window Functions, B+ Trees & Query Optimization
What Is SQL, Tables & How Databases Think
Start from absolute zero: understand how relational databases store data on disk, SQL vs NoSQL differences, PostgreSQL vs MySQL vs SQLite, and the #1 secret of SQL query execution order.
Data Types, CREATE TABLE, Primary Keys & Foreign Keys
Learn how to design rock-solid tables: CHAR vs VARCHAR vs TEXT, DECIMAL vs FLOAT, auto-increment IDs, Primary/Composite/Foreign Keys, ON DELETE behaviors, and DELETE vs TRUNCATE vs DROP.
CRUD Operations: INSERT, SELECT, UPDATE & DELETE Safely
Master the 4 everyday CRUD operations, bulk inserts, Upserts (ON CONFLICT), RETURNING, DISTINCT vs DISTINCT ON, and the transaction safety workflow that protects production databases.
Filtering Rows with WHERE, AND, OR, IN & BETWEEN
Master row-level filtering with WHERE, comparison operators, IN vs OR, BETWEEN vs half-open ranges for timestamps, sargable index-friendly filters, and the AND/OR precedence bug.
Mastering NULL, Three-Valued Logic & COALESCE
Master the #1 source of silent SQL bugs: NULL vs 0 vs empty string, Three-Valued Logic truth tables, COALESCE vs IFNULL, NULLIF division-by-zero protection, and how NULL affects COUNT and NOT IN.
Pattern Matching (LIKE), Multi-Column ORDER BY & Pagination
Search text with LIKE & ILIKE wildcards, escape literal % characters, sort cleanly with multi-column tie-breakers and NULLS LAST, and compare OFFSET vs Keyset (Cursor) Pagination at scale.
Aggregate Functions (COUNT, SUM, AVG, MIN, MAX) & GROUP BY
Collapse millions of raw rows into business KPIs using COUNT, SUM, AVG, MIN, MAX, and GROUP BY — plus the #1 GROUP BY rule and how NULLs affect AVG vs COUNT.
HAVING vs WHERE, Duplicate Detection & ROLLUP
Master the #1 most-asked SQL interview difference (WHERE vs HAVING), learn the classic GROUP BY + HAVING duplicate-detection pattern, and generate grand totals automatically with ROLLUP.
CASE WHEN, Conditional Aggregation & Pivoting Data
Write if-else logic inside SQL with CASE WHEN, compute multiple filtered KPIs in a single table scan using Conditional Aggregation (SUM(CASE WHEN ...)), and pivot rows into columns.
INNER JOIN vs LEFT JOIN & The Anti-Join Pattern
Master the two JOINs you will use in 95% of real-world SQL queries: INNER JOIN vs LEFT JOIN, the Left Anti-Join pattern (find users with 0 orders), and the #1 LEFT JOIN + WHERE trap.
RIGHT, FULL OUTER, SELF JOIN & CROSS JOIN
Master every remaining SQL JOIN type: SELF JOIN for employee-manager hierarchies and pair comparisons, FULL OUTER JOIN for reconciliation (plus MySQL workaround), and CROSS JOIN for generating combinations.
Set Operations: UNION vs UNION ALL, INTERSECT & EXCEPT
Stack query results vertically with UNION and UNION ALL, understand why UNION ALL is dramatically faster, and find overlaps or differences between datasets with INTERSECT and EXCEPT.
Subqueries: Scalar, Multi-Row (IN / ANY / ALL) & Correlated
Write queries inside queries: understand Scalar vs Multi-Row subqueries, the crucial performance difference between Uncorrelated and Correlated subqueries, and when to replace them with JOINs.
EXISTS vs IN, NOT EXISTS vs NOT IN & Derived Tables
Learn when EXISTS beats IN, why NOT EXISTS is dramatically safer than NOT IN around NULLs, why SELECT 1 works inside EXISTS, and how to alias Derived Tables cleanly.
Common Table Expressions (WITH) & Recursive CTEs
Replace unreadable nested subqueries with clean, top-to-bottom CTE pipelines (WITH), compare CTE vs Subquery vs Temporary Table, and traverse org charts & graphs using WITH RECURSIVE.
Window Functions: OVER(), PARTITION BY & GROUP BY vs Window
Unlock the #1 skill that separates junior from senior SQL engineers: Window Functions. Learn how OVER() and PARTITION BY compute department averages and percentages WITHOUT collapsing individual rows.
Ranking: ROW_NUMBER() vs RANK() vs DENSE_RANK() & Top-N Per Group
Master the #1 most-asked SQL interview pattern: exact differences between ROW_NUMBER(), RANK(), and DENSE_RANK() on ties, Top-3 salaries per department, and deduplicating dirty tables.
Time-Series SQL: LAG(), LEAD(), Running Totals & Moving Averages
Compute month-over-month revenue growth with LAG()/LEAD(), cumulative running totals with SUM() OVER(ORDER BY ...), and 7-day rolling moving averages with ROWS BETWEEN.
Database Normalization (1NF, 2NF, 3NF) vs Denormalization
Understand why poorly designed tables suffer from Insert, Update, and Delete anomalies, master 1NF, 2NF, and 3NF in plain English, and know when senior engineers intentionally denormalize.
Views vs Materialized Views, Triggers & Stored Procedures
Compare regular Views vs Materialized Views (real-time vs cached speed), understand when Triggers help or hurt, and learn how Stored Procedures encapsulate reusable database logic.
Real-World Database Schema Design: 1:1, 1:N & M:N Modeling
Put everything together to design production-grade schemas from scratch: modeling 1:1, 1:N, and M:N relationships, Surrogate vs Natural keys, Soft Deletes (deleted_at), and a complete LMS schema.
B+ Tree Indexes, Composite Indexes & The Leftmost Prefix Rule
Understand how B+ Tree indexes turn 10-second full table scans into 2ms lookups, master the Leftmost Prefix Rule for multi-column composite indexes, and learn why over-indexing slows down writes.
ACID Transactions, Locks, MVCC & Isolation Levels
Master how databases protect financial money transfers: ACID properties explained simply, how MVCC lets readers never block writers, the 4 Isolation Levels, and row-level locking with FOR UPDATE.
Reading EXPLAIN ANALYZE & Production Query Optimization
Learn how senior engineers diagnose slow SQL queries in seconds: reading EXPLAIN ANALYZE plans, spotting Seq Scan vs Index Scan vs Index-Only Scan, fixing the N+1 Query problem, and a 7-point tuning checklist.
Vote for the Next Visual Course
We're building free visual A–Z courses across Databases, Low-Level Design, System Design, and Core CS.
Low-Level Design (LLD) & Design Patterns
Clear tutorials with UML class diagrams and 4-language code for SOLID principles, Creational/Structural/Behavioral patterns, and thread-safe machine coding.
High-Level System Design (HLD)
Standalone tutorials on Load Balancers, Consistent Hashing, Redis Caching, Kafka Streams, Sharding, CAP Theorem, and real FAANG architecture breakdowns.
OS & Computer Networks Fundamentals
Plain-English visual explainers on how operating systems schedule threads and manage memory, plus how packets travel across DNS, TCP, HTTP/2, and TLS.
SQL & Databases Tutorial (A–Z) — Frequently Asked Questions
Common questions about learning SQL, PostgreSQL/MySQL differences, and database internals visually.
Which SQL dialect does this course teach — PostgreSQL or MySQL?
The course teaches standard ANSI SQL that works across PostgreSQL, MySQL, and SQLite, and explicitly highlights key PostgreSQL vs MySQL differences (like ILIKE, IDENTITY vs AUTO_INCREMENT, and isolation defaults).
Does this SQL course cover Window Functions, CTEs, and Indexes?
Yes — Modules 5–8 go deep into Subqueries, EXISTS vs IN, Recursive CTEs, ROW_NUMBER/RANK/DENSE_RANK, LAG/LEAD running totals, 1NF–3NF Normalization, B+ Tree indexes, ACID/MVCC, and EXPLAIN ANALYZE.
How does the Interactive SQL Execution Tracer work?
Click Next on any SQL stepper to highlight the exact clause running (FROM → WHERE → GROUP BY → HAVING → SELECT → ORDER BY) while watching the intermediate table rows transform live.
Is this SQL A–Z course free without creating an account?
Yes — all 8 modules and 24 visual lessons are 100% free with zero login walls.