SQL & Relational Databases
Query real relational tables directly in your browser using SQLite WebAssembly. Master SELECT, WHERE, GROUP BY, JOINs, data updates, and an auto-graded analytics capstone.
What you'll build & master
- ✓ Query and filter relational tables cleanly with SELECT, WHERE, and LIKE
- ✓ Sort, deduplicate, and paginate results using ORDER BY, DISTINCT, and LIMIT
- ✓ Summarize metrics with COUNT, SUM, AVG, GROUP BY, and HAVING
- ✓ Combine related tables safely using INNER JOIN and LEFT JOIN
- ✓ Insert, update, and delete records safely with WHERE clauses
Course Syllabus
Querying Data
Analytics & Joins
Modifying Data
Intermediate Queries
- 18 min
Subqueries & Common Table Expressions (CTEs)
Break complex multi-step SQL queries into clean, readable building blocks using WITH Common Table Expressions and subqueries.
- 28 min
CASE WHEN & Handling NULL with COALESCE
Create computed categories with CASE WHEN ... THEN ... ELSE ... END and replace missing NULL values safely using COALESCE().
- 37 min
String, Math & Date Functions
Clean text with LOWER(), TRIM(), and LENGTH(), round metrics with ROUND(), and format timestamps using SQLite date functions.
Advanced Analytics
Schema & Performance
- 19 min
Tables, Constraints & Indexes
Design reliable schemas with CREATE TABLE, PRIMARY KEY, NOT NULL, UNIQUE, CHECK constraints, and speed up lookups with CREATE INDEX.
- 27 min
Transactions & Data Integrity (ACID)
Group multiple SQL writes into an all-or-nothing unit using BEGIN TRANSACTION, COMMIT, and ROLLBACK.