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

Learn SQL

Get dangerous with relational databases: query, filter, join, and aggregate data without hiding behind an ORM.

What you'll learn in this SQL course

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 61,332 students in the Learn SQL course

Read reviews of their learning experiences

gonna save me in the class

(5/5)
Hồ Bá Hưng profile image

Hồ Bá Hưng

Vietnam

Great course for a quick intro or refresher on SQL!

(5/5)
David Gusis profile image

David Gusis

United States

Great course, really helped me understand JOINS in detail. Would be helpful if they included transactions, or stored procedures.

(4/5)
Keenan Botes profile image

Keenan Botes

South Africa

Easy enough to follow, but not so easy it becomes uninsteresting. Many lessons build on previous concepts and allow some practice to join everything together. Well made!

(5/5)
Daniel  profile image

Daniel

Brasília, Brasil

A good introduction to SQL, there are more stuff that one can learn, but this is most of the usual stuff one will do.

(5/5)
Gilberto Mejia profile image

Gilberto Mejia

Colima, Mexico

Really clear and simple as well as practical information on SQL, loved this course.

(5/5)
Geneviève Ernould profile image

Geneviève Ernould

Belgium

This was a great course that taught me a lot about SQL. I feel a lot more confident writing SQL queries and understanding them now!

(5/5)
Hugh Gramelspacher profile image

Hugh Gramelspacher

Seattle, WA

A wealth of knowledge and a great refresher for those both looking to get into sql as well as re-learn sql. Has its share of difficult and tedious problems but they still teach quite a bit.

(4/5)
Vince Hunter profile image

Vince Hunter

New York City

really good

(5/5)
Vedant work profile image

Vedant work

India

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. SQL is one of the most self-teachable languages out there because it's small and you get instant feedback on every query. This course has you write SQL against real tables in your browser from the first chapter.