Python and FastAPI
Module 18 · SQL and databases from scratch
Relational databases, SQL queries, joins, aggregation, transactions, indexes and using SQLite from Python (runnable in the browser).
7 lessons
Follow in order
Use the button below to sign in and unlock lessons.
Your path
Lessons in sequence
Work through these in order—each lesson builds on the previous one.
-
Lesson 1 of 7
18.1 What is a database and why do we need one?
-
Lesson 2 of 7
18.2 SQL basics: SELECT, WHERE, ORDER BY, LIMIT
-
Lesson 3 of 7
18.3 Aggregation: COUNT, SUM, GROUP BY, HAVING
-
Lesson 4 of 7
18.4 Joins explained with pictures
-
Lesson 5 of 7
18.5 INSERT, UPDATE, DELETE and transactions
-
Lesson 6 of 7
18.6 Schema design: keys, indexes and normalisation
-
Lesson 7 of 7
18.7 Using SQLite from Python