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 58,314 students in the Learn SQL course

Read reviews of their learning experiences

i liked it, tho it was hard at times for me at least, but thats the point right, i will need to study more syntax and methods/functions but overall it was awesome

(5/5)
Bartosz Turzyński profile image

Bartosz Turzyński

Poland

I've been using SQL for work for the last 5 years and I just learn enough to do my job, which left a lot of knowledge gaps. This course has filled many of those gaps in and it took me all of a few days, maybe a week, to learn much of what I didn't know, but needed to. Thank you!

(5/5)
Zach Willett profile image

Zach Willett

United States

Easy to follow and understand with proper exercises that actually require some thinking to solve them.

(5/5)
Carlos Valente profile image

Carlos Valente

Aveiro, Portugal

It is cool. Teaches you the basics and some intermediate levels of general SQL dialects with SQLite! It provides good and official docs from other DBMS such as MySQL (I prefer MariaDB) Postgres and the SQLite itself. Good and fun exercises.

(5/5)
Fernando Cardozo profile image

Fernando Cardozo

Paraguay

very good course on learning SQLite

(5/5)
Swiga Bahati profile image

Swiga Bahati

Kenya

I liked it, it was engaging, maybe a little simple in places. Still, there was enough interesting, challenging and useful material to earn 5 stars.

(5/5)
Sergii Tokayuk profile image

Sergii Tokayuk

Canada

It was very methodical and sometimes challenging, but I never came close to giving up, thanks to all the help available.

(4/5)
Rasmus Holm Høyrup profile image

Rasmus Holm Høyrup

Denmark

Absolutely amazing course. I knew some SQL, enough not to die at work. But coming from a front-end-first background this helps a lot to dig deeper into how to use a relational database. I'm always forgetting the freaking syntax, so now that I have everything fresh I'll do a 3 months practice including PostgreSQL API

(5/5)
Felipe  profile image

Felipe

Chile

The course was great

(4/5)
bahvus  profile image

bahvus

Somewhere

Showing 1-9 of 789

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.