THE COURSE
Learning path
Work through the modules in order, or jump to the idea you need today. Every lesson ends with practice.
Your progress 0/62
Saved in this browser9 lessons
Start here
What a database is, how a query reads, and where SQL fits.
9 lessons
Query basics
SELECT, WHERE, sorting, limits and pattern matching.
6 lessons
Aggregate and reshape
Count, sum, group, filter groups and combine result sets.
9 lessons
Joins and subqueries
Read several tables at once and nest one query in another.
- Multi-table queries, JOIN operator940 words
- INNER JOIN389 words
- OUTER JOIN878 words
- Subqueries193 words
- Correlated Subqueries198 words
- Subqueries with one row with one column267 words
- Subqueries with multiple rows and one column401 words
- Multi-column subqueries193 words
- Common Table Expressions, WITH672 words
16 lessons
Change data and schema
INSERT, UPDATE, DELETE, tables, types, keys and indexes.
- Adding data, INSERT operator822 words
- Updating data, UPDATE operator853 words
- Deleting data, DELETE operator725 words
- Creating and deleting tables1052 words
- Creating and deleting databases280 words
- Constraints943 words
- Data types for table columns134 words
- String data type129 words
- Numeric data type287 words
- Date and time378 words
- Numeric data type426 words
- Date and time867 words
- Type conversion functions278 words
- Function usage514 words
- VIEW Statements542 words
- SQL Indexes1398 words
4 lessons
Transactions and reliability
Atomic changes, isolation, locking and scheduled work.
5 lessons
Window functions
Rank, accumulate and compare rows without collapsing them.
4 lessons
Stored code
Procedures, functions and control flow inside the database.