← Back to Tools
MySQL

Tool

MySQL

The world's most widely deployed open-source database

Learn MySQL from your first SELECT to joins, subqueries, constraints, indexes, views, and transactions — with real MySQL labs graded on a live database.

14

Chapters

36

Hours (estimated)

1

Self-paced

Part-time

About 12 weeks

1 hour a day, 3 days a week

Full-time

About 4 weeks

3 hours a day, 3 days a week

Estimated from 14 chapters (notes, practice, labs, quiz, exercise, and challenge) plus the final exam. Go at your own pace.

Curriculum

14 chapters, each with a tutorial, a live example, a quiz, an exercise, a challenge, and class practice.

  1. 1

    Introduction to MySQL

    What MySQL and relational databases are, tables, rows, and columns, the practice database, and your first SELECT.

  2. 2

    SELECT, WHERE & ORDER BY

    Choosing columns, DISTINCT, filtering rows with WHERE and AND/OR/NOT, sorting with ORDER BY, and limiting results with LIMIT.

  3. 3

    INSERT, UPDATE & DELETE

    Adding rows with INSERT INTO, working with NULL values, changing data with UPDATE, and removing rows with DELETE — safely.

  4. 4

    MIN, MAX, COUNT, AVG & SUM

    Summarizing data with aggregate functions, counting rows and distinct values, rounding, and how NULLs affect results.

  5. 5

    LIKE, IN, BETWEEN & Aliases

    Pattern matching with LIKE and wildcards, list matching with IN, ranges with BETWEEN, and readable results with column and table aliases.

  6. 6

    Joins

    Combining tables with INNER, LEFT, RIGHT, and CROSS joins, joining three tables, and self joins.

  7. 7

    GROUP BY, HAVING & UNION

    One summary row per group with GROUP BY, filtering groups with HAVING, WITH ROLLUP totals, and stacking results with UNION.

  8. 8

    Subqueries, EXISTS, ANY & ALL

    Queries inside queries: scalar and list subqueries, EXISTS and NOT EXISTS, ANY and ALL, and INSERT INTO ... SELECT.

  9. 9

    CASE, NULL Functions & Operators

    Conditional values with CASE and IF, handling NULLs with IFNULL and COALESCE, comments, and MySQL's operators.

  10. 10

    Creating Databases & Tables

    CREATE and DROP DATABASE, CREATE TABLE with MySQL data types, ALTER TABLE, DROP and TRUNCATE, and choosing the right types.

  11. 11

    Constraints & AUTO_INCREMENT

    NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, CHECK, and DEFAULT constraints, plus AUTO_INCREMENT keys and referential actions.

  12. 12

    Indexes & Views

    Speeding up queries with indexes, reading EXPLAIN, composite and unique indexes, and saving queries as views.

  13. 13

    Dates & Built-in Functions

    Date and time functions, DATE_FORMAT and date arithmetic, string functions, and numeric functions — MySQL's function reference in practice.

  14. 14

    Transactions, Procedures & Users

    All-or-nothing changes with START TRANSACTION, COMMIT, and ROLLBACK, ACID, stored procedures, and managing users and privileges.

Start learning — it's free →

MySQL is free to study, self-paced. Pass the final exam to earn an optional Certificate of Completion for $40.