SQL Tutorials – Learn SQL from Basics to Advanced
SQL is the standard language for working with relational databases. These guides cover querying, managing databases and tables, modifying data, and keeping your database secure and performant. Whether you're writing your first SELECT or optimizing slow queries, you'll find a practical guide for it here.
Getting Started
The essentials before anything else: how to run queries, how to write them well, and how to document your SQL code with comments.
Learn SQL on Mimo
- How to Run an SQL Query
- How to Write SELECT Queries in SQL
- How to Comment in SQL
- How to Optimize SQL Queries
- How to Prevent SQL Injection
Databases
Everything related to creating and managing the database itself, including backups before you make changes you might regret.
Tables
Tables are where your data lives. These guides cover the full lifecycle: creating, copying, renaming, clearing, and dropping them.
- How to Create a Table in SQL
- How to Delete a Table in SQL
- How to Rename a Table in SQL
- How to Truncate a Table in SQL
- How to Copy a Table in SQL
- How to Create a Temporary Table in SQL
Columns & Data
Adding and changing what's inside your tables — columns, rows, and the data stored in them.
Join 35M+ people learning for free on Mimo
4.8 out of 5 across 1M+ reviews
Check us out on Apple AppStore, Google Play Store, and Trustpilot