Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

MySQL From Zero

Pragmatic AI Labs via Coursera

Overview

AI, Data Science & Cloud Certificates from Google, IBM & Meta — 50% Off
One plan covers every Professional Certificate on Coursera. 50% off Coursera Plus Annual for 10 days only — price increases June 17.
Unlock All Certificates
MySQL from Zero is a hands-on three-module course that teaches you to install MySQL, import the Sakila sample database, query it from the terminal, and build a Bash to Python to Rust pipeline that surfaces the same answer through three increasingly type-safe layers. Module 1 starts you in `mysql -u user -p` with `SHOW DATABASES`, `USE sakila`, and `SELECT ... LIMIT`, then walks through `mysqldump` for safe backups, INSERT/UPDATE/DELETE on a real schema, and the `INTO OUTFILE` to `http.server` to `curl` pipeline that turns a SQL query into an HTTP endpoint with zero new packages. Module 2 dives into the Sakila schema itself: the customer to rental to inventory to film traversal that drives most queries, INNER vs LEFT JOIN with row-by-row materialization, and B-tree indexes paired with `EXPLAIN ANALYZE` so you can predict query cost before you ship. Module 3 closes with a typed Rust client: `sqlx::MySqlPool` against the same Sakila, the `FromRow` derive mapping rows to a struct, and four runtime `assert!` contracts that fail loudly when data drifts. By the end you can pick the right query for a real database problem and ship it as a single static Rust binary.

Syllabus

  • MySQL Fundamentals
    • Covers MySQL as the OLTP workhorse, the mysql terminal client, the mysqldump backup-and-restore pattern, importing the Sakila sample database, INSERT/UPDATE/DELETE on a real schema, mysql -e shell pipelines, and a Python http.server backed by a live database.
  • Sakila Schema, JOINs, and Indexes
    • Tours the 16-table Sakila schema spine (customer to rental to inventory to film), contrasts INNER and LEFT JOINs on the same query, and reads EXPLAIN ANALYZE to predict whether a query will scale. Builds the mental model of a B-tree index and the type column that signals ref, range, or full-table scan.
  • Typed Rust Client with sqlx
    • Ports a Python customer-rental analytics script to a typed Rust binary using sqlx::MySqlPool plus the FromRow derive. Names the three type-mapping traps (f64 for money, String for nullable, bool against TINYINT(N)) and enforces four runtime assert! contracts that fail loudly when the data drifts.

Taught by

Noah Gift

Reviews

Start your review of MySQL From Zero

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.