We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

Learn SQL

Learn the fundamentals of Structured Query Language (SQL), the most popular way to interact with database systems like MySQL, PostgreSQL, and SQLite.

What will you learn?

Learn all the basics of Structured Query Language in this comprehensive SQL course. You'll build out real database tables and practice querying them in flexible ways right in the browser. Not only will you understand how to use SQL, but you'll also learn in what situations you should use it. We will cover architectural design patterns and how to use SQL in a production environment.

Chapter List

1
Introduction
Learn about the basics of SQL and how it came to be
2
Tables
Create new tables and learn how to structure data efficiently
3
Constraints
Learn how to keep data accurate and up to date
4
CRUD
Create, read, update and delete information from a SQL database
5
Basic Queries
Practice additional clauses and features that SQL offers for more flexible querying
6
Structuring
Learn how to order and limit the data returned in large query sets
7
Aggregations
Learn how to run powerful calculations on entire datasets
8
Subqueries
Practice the advanced technique of nesting queries inside one another
9
Normalization
Learn how to normalize a database in order to keep it's data consistent and accurate
10
Joins
Practice joining multiple tables together in order to power real world usecases
11
Performance
Learn how to keep databases running fast and efficient in production

Join 41,108 students in the Learn SQL course

Read reviews of their learning experiences

Awesome, you'll learn the fundamentals in a very clear and structured way that will leave you wanting more!

(5/5)
Hernan Alberto Aguilera Abril profile image

Hernan Alberto Aguilera Abril

Germany

Way too many Test questions were based on material not explained.

(3/5)
Stu McClure profile image

Stu McClure

United States

Properly done on fundamentals, but challenges could be a bit beter

(5/5)
Daniel Ambuche profile image

Daniel Ambuche

Nairobi, Kenya

My goodness that was fun -- fantastic crash course into SQL.

(5/5)
Joshua Staker profile image

Joshua Staker

United States

Really nice intro to SQL language

(5/5)
Luiz Carneiro profile image

Luiz Carneiro

Munich, Germany

An excellent introduction to the major nuts and bolts of SQL. It was great for me as a refresher. It did an awesome job of explaining the concepts in an understandable, yet thorough, way.

(5/5)
Sam Davenport profile image

Sam Davenport

Kansas, USA

Best interactive SQL course

(5/5)
Ahammed Rahees profile image

Ahammed Rahees

Kerala, India

SQL is one of favorite languages because it's so freakin' intuitive. Despite that I learnt a *lot* from this course that I didn't know. Highly recommend this course even if you have some experience writing SQL queries!

(5/5)
Sherif Tariq profile image

Sherif Tariq

United States

It helped me strengthen my SQL knowledge

(5/5)
Axel Flores profile image

Axel Flores

Mexico

Showing 1-9 of 475

or view more reviews

Mediocrity doesn't cut it anymore

The only way to become a great developer is to write a lot of code

Avoid tutorial hell

by writing a ton of code

Stay motivated with

a game-like curriculum

Build portfolio projects

to prove your skills

Delve deeper

into foundational concepts

Learn flexibly online

without interrupting your life

For 1% the price of college

to minimize your financial risk

Frequently asked Questions

Got questions? We've got answers

Yes! It's free to create an account and start learning. You'll get all the immersive and interactive features for free for a few chapters. After that, if you still haven't paid for a membership, you'll be in read-only (content only) mode.