Skip to main content

Documentation

Comprehensive SQL reference from fundamentals to advanced topics. Each page includes syntax, real examples, common mistakes, and links to practice problems.

Fundamentals

SELECT, FROM, WHERE — the building blocks of every query

Aggregations

Summarize data with grouping and aggregate functions

Joins

Combine data from multiple tables

Subqueries

Queries within queries for complex logic

Window Functions

Calculations across sets of rows related to the current row

Advanced

CTEs, CASE expressions, date functions, and more