SQL Foundations
Learn SQL through story-driven investigations with progressive practice.
Practice SQL Daily
Get one SQL challenge every day at your chosen time.
Introduction to SQL
0 / 5 exercisesUnderstand what SQL is and learn to read data using simple SELECT queries.
SELECT & Basic Queries
0 / 7 exercisesLearn SELECT basics, column order, aliases, and DISTINCT.
Filtering Data (WHERE, AND, OR)
0 / 7 exercisesUse WHERE with AND/OR to filter rows by conditions.
Sorting & Limiting Results (ORDER BY, LIMIT)
0 / 10 exercisesSort rows with ORDER BY and restrict output with LIMIT.
Pattern Matching & Advanced Filters (LIKE, IN, BETWEEN)
0 / 10 exercisesUse LIKE, IN, and BETWEEN for pattern and range filtering.
SQL Functions & Expressions
0 / 10 exercisesUse functions and expressions to transform and calculate data.
Aggregations (COUNT, SUM, AVG, MIN, MAX)
0 / 10 exercisesSummarize data with COUNT, SUM, AVG, MIN, and MAX.
GROUP BY & HAVING
0 / 10 exercisesGroup rows and filter grouped results with HAVING.
SQL Joins (INNER JOIN)
0 / 10 exercisesCombine rows from two tables using INNER JOIN.
Outer Joins (LEFT, RIGHT, FULL)
0 / 10 exercisesKeep unmatched rows with LEFT, RIGHT, and FULL joins.
NULL Handling
0 / 10 exercisesWork safely with missing values using IS NULL and COALESCE.
Subqueries
0 / 10 exercisesUse subqueries to solve complex problems step-by-step.
Window Functions
0 / 10 exercisesUse window functions for ranking, running totals, and comparisons.
Query Execution Order
0 / 10 exercisesUnderstand how SQL executes clauses under the hood.
Data Manipulation (INSERT, UPDATE, DELETE)
0 / 10 exercisesLearn INSERT, UPDATE, and DELETE with safe preview exercises.
Table Management (CREATE, ALTER, DROP)
0 / 10 exercisesUnderstand DDL with CREATE, ALTER, and DROP using schema previews.
Indexes & Performance Basics
0 / 10 exercisesLearn how indexes speed up queries and when to use them.
SQL Interview Questions (Company-wise)
0 / 10 exercisesSolve high-frequency interview SQL problems across companies.