A clear, example-first guide to SQL. Every topic has its own page with plain-English explanations, runnable queries shown next to their actual output, practical tips, common mistakes to avoid, and at least one advanced example. Start at the top and work down, or jump straight to what you need.
Start Learning →The absolute basics — what SQL is, how tables work, and your first query.
Narrow down and order the rows a query returns.
Summarise many rows into meaningful totals, averages, and group-level statistics.
Combine data spread across multiple related tables.
Define table structure and add, change, or remove data safely.
Conditional logic, nested queries, named intermediate results, and analytical window functions.
A research-focused walkthrough computing descriptive statistics directly inside the database.