Query foundations
Select, filter, order, and transform the data you need.
Explore practiceSQL & DATABASES
Build a working understanding of relational data. Practice accurate queries, reason about database behavior, and learn how a good data model supports a good application.
Your learning. Your pace. A clearer next step.
BUILD YOUR FOUNDATIONS
Explore the concepts behind sql & databases, then apply them in the practice library.
Select, filter, order, and transform the data you need.
Explore practiceCombine tables while keeping cardinality and missing rows in view.
Explore practiceGroup data, calculate meaningful summaries, and filter groups.
Explore practiceBreak complex questions into steps that are easy to reason about.
Explore practiceRank, compare, and calculate across related rows without losing detail.
Explore practiceExplore keys, normalization, transactions, and indexing fundamentals.
Explore practiceA MORE THOUGHTFUL SESSION
Practice is most useful when you can explain what changed in your understanding. Build that habit into every session.
Choose your next challengeUnderstand the tables, keys, and expected output before writing a query.
Consider NULLs, duplicates, empty sets, and one-to-many relationships.
Compare your approach with the editorial and learn why the query behaves as it does.
KEEP EXPLORING