Tutorials References Exercises VideosMenu
Free WebsiteGet CertifiedPro

MySQL Tutorial

MySQL HOMEMySQL IntroMySQL RDBMS

MySQL SQL

MySQL SQLMySQL SELECTMySQL WHEREMySQL AND, OR, NOTMySQL ORDER BYMySQL INSERT INTOMySQL NULL ValuesMySQL UPDATEMySQL DELETEMySQL LIMITMySQL MIN and MAXMySQL COUNT, AVG, SUMMySQL LIKEMySQL WildcardsMySQL INMySQL BETWEENMySQL AliasesMySQL JoinsMySQL INNER JOINMySQL LEFT JOINMySQL RIGHT JOINMySQL CROSS JOINMySQL Self JoinMySQL UNIONMySQL GROUP BYMySQL HAVINGMySQL EXISTSMySQL ANY, ALLMySQL INSERT SELECTMySQL CASEMySQL Null FunctionsMySQL CommentsMySQL Operators

MySQL Database

MySQL Create DBMySQL Drop DBMySQL Create TableMySQL Drop TableMySQL Alter TableMySQL ConstraintsMySQL Not NullMySQL UniqueMySQL Primary KeyMySQL Foreign KeyMySQL CheckMySQL DefaultMySQL Create IndexMySQL Auto IncrementMySQL DatesMySQL Views

MySQL References

MySQL Data TypesMySQL Functions

MySQL Examples

MySQL ExamplesMySQL QuizMySQL ExercisesMySQL Certificate

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.

Example

SELECT * FROM Customers;
Try it Yourself »

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.

See All SQL Examples


MySQL Quiz Test

Test your MySQL skills at W3Schools!

Start MySQL Quiz!


My Learning

Track your progress with the free "My Learning" program here at W3Schools.

Log into 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:

MySQL Data Types

MySQL Functions