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 53,832 students in the Learn SQL course

Read reviews of their learning experiences

The syntax highlighting of the workspace did not match the lessons and it was difficult to parse this as a newer user.

(4/5)
Aaron  profile image

Aaron

Portland, ME

Great way to dive hands on into SQL.The joins demonstration and examples were specifically really good!

(5/5)
Alfred Mathew Cherian profile image

Alfred Mathew Cherian

India

Super informative and a great reference for future uses of SQL!

(5/5)
Miranda Peak profile image

Miranda Peak

Burbank, CA

Good course, was on par with what I did at university.

(5/5)
Dorothy Power profile image

Dorothy Power

Belfast, Ireland

This was a good baseline introduction to SQL. It would be better to have more detailed SQL modules that go into greater depth like the python modules.

(3/5)
Sean Bowman profile image

Sean Bowman

United States

This was amazing. SQL was such a nighmare for me and to know this much now its surreal and makes me so happy. Thanks a lot

(4/5)
Carlos Barber profile image

Carlos Barber

Angola

i realy liked it. its a fun way to learn and it is exactly what i learned in school but this time i understood most of it.

(5/5)
Ryuu  profile image

Ryuu

Norway

Concise and very engaging!

(5/5)
Filipp Kondratov profile image

Filipp Kondratov

Spain

awesome oyb

(5/5)
Alexandro Cocouvi profile image

Alexandro Cocouvi

Benin

Showing 1-9 of 693

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.