← Go Home
Written SQL Lessons
Learn SQL step-by-step.
Explore our structured, textbook-style written tutorials. We cover everything from database basics to advanced topics like views, subqueries, and table creation. Perfect for structured self-study.
CH 1Beginner
Introduction to Relational Databases and SQL
3 min readRead Chapter→
CH 2Beginner
Retrieving Data with the SELECT Statement
4 min readRead Chapter→
CH 3Beginner
Sorting Retrieved Data with ORDER BY
3 min readRead Chapter→
CH 4Beginner
Filtering Data using the WHERE Clause
4 min readRead Chapter→
CH 5Beginner
Advanced Data Filtering with Logical Operators
4 min readRead Chapter→
CH 6Beginner
Pattern Matching with LIKE and Wildcards
3 min readRead Chapter→
CH 7Beginner
Creating Calculated Fields and Aliases
3 min readRead Chapter→
CH 8Beginner
Using Data Manipulation Functions
4 min readRead Chapter→
CH 9Beginner
Summarizing Data with Aggregate Functions
4 min readRead Chapter→
CH 10Beginner
Grouping Data with GROUP BY and HAVING
4 min readRead Chapter→
CH 11Intermediate
Understanding Subqueries
4 min readRead Chapter→
CH 12Intermediate
Querying Multiple Tables with INNER JOIN
5 min readRead Chapter→
CH 13Intermediate
Advanced Joins: Outer, Cross, and Self Joins
5 min readRead Chapter→
CH 14Intermediate
Combining Queries with UNION
4 min readRead Chapter→
CH 15Advanced
Inserting Data into Tables
3 min readRead Chapter→
CH 16Advanced
Updating and Deleting Data
4 min readRead Chapter→
CH 17Advanced
Creating and Manipulating Tables
4 min readRead Chapter→
CH 18Advanced
Creating and Using Views
4 min readRead Chapter→
Ready to write code?
Theory is important, but coding is best learned by doing. Enter our interactive SQL sandbox to execute queries directly against our mock SaaS databases.
Enter Interactive Playground→