MySQL Tutorial
MySQL is a widely used relational database management system (RDBMS).
MySQL is free and open-source.
MySQL is ideal for both small and large applications.
Start learning MySQL now »Examples in Each Chapter
With our online MySQL editor, you can edit the SQL statements, and click on a button to view the result.
Click on the "Try it Yourself" button to see how it works.
MySQL Exercises
MySQL Examples
Learn by examples! This tutorial supplements all explanations with clarifying examples.
MySQL Quiz Test
Test your MySQL skills at W3Schools!
My Learning
Track your progress with the free "My Learning" program here at W3Schools.
Log in to your account, and start earning points!
This is an optional feature. You can study W3Schools without using My Learning.
MySQL References
At W3Schools you will find a complete reference of MySQL data types and functions: