Skip to main content
New Self-paced AI courses — learn ML, deep learning, and agents on your schedule. Enroll free

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.

  1. Lesson 1 of 7

    18.1 What is a database and why do we need one?

    Enroll to open · 22 min read

  2. Lesson 2 of 7

    18.2 SQL basics: SELECT, WHERE, ORDER BY, LIMIT

    Enroll to open · 26 min read

  3. Lesson 3 of 7

    18.3 Aggregation: COUNT, SUM, GROUP BY, HAVING

    Enroll to open · 28 min read

  4. Lesson 4 of 7

    18.4 Joins explained with pictures

    Enroll to open · 32 min read

  5. Lesson 5 of 7

    18.5 INSERT, UPDATE, DELETE and transactions

    Enroll to open · 30 min read

  6. Lesson 6 of 7

    18.6 Schema design: keys, indexes and normalisation

    Enroll to open · 36 min read

  7. Lesson 7 of 7

    18.7 Using SQLite from Python

    Enroll to open · 34 min read

← Back to course