This SQL tutorial gets you up to speed quickly.
Each page comes with real-world SQL examples.
Once you know SQL you can query and maintain databases.
This tutorial is designed for you, and it's free. Enjoy!
In this tutorial, each SQL example solves a specific problem.
Here's an example.
This problem is solved with the given SQL query.
The table(s) on the right help with visualizing the query.
Each SQL example has a Try It live button which opens the SQL Editor where you can change the SQL and run your queries against a live database.
Tip: The editor accepts SELECT, UPDATE, INSERT, and DELETE operations. Operations that change data will execute and are then rolled back (undone) to maintain integrity of the database..
If you're a beginner, then this tutorial is for you.
It covers the basics in a simple and easy-to-understand manner.
The SQL editor lets you run the SQL with instant feedback -- a great learning experience.
If you are an experienced developer, then this tutorial is also for you.
Our tutorial covers all SQL queries with clauses, keywords, functions and more.
If you sometimes forget a SQL detail or syntax, then this Guide is for you!
Each page ends with a 'You may also like' section with links to related topics, like so: