MySQL 8

SQL / MySQL Tutorial & Reference

Tables, queries, joins, indexes, foreign keys, CTEs, and normalization.

Clear
Popular:

MySQL 8 Learning Path

Follow the SQL / MySQL Curriculum

Read the guides in order from fundamentals to production patterns, or jump to your current skill level.

Showing 4 of 37 guides

SQL / MySQL Advanced

Indexes, Composite Indexes, and EXPLAIN

How do I index a WHERE/ORDER BY so MySQL does not scan the whole table?

Integrity & Performance 9 min
SQL / MySQL Intermediate

Foreign Keys, ON DELETE CASCADE, and ON DELETE SET NULL

How do I stop orphan enrollment rows?

Integrity & Performance 8 min
SQL / MySQL Advanced

SQL Transactions: START TRANSACTION, COMMIT, ROLLBACK

How do I make two writes succeed or fail together?

Integrity & Performance 8 min
SQL / MySQL Intermediate

CHECK Constraints

How do I reject a seat count outside 1 to 40 in the table itself?

Integrity & Performance 7 min

Need more coins?

You do not have enough coins for this action.

Your balance: 0 coins

Share

Reactions

Loading reactions…