← Tech & software

LEARN Β· PRACTICE Β· REMEMBER

SQL Fundamentals β€” Query Any Database

Learn to ask questions of your data with SQL queries.

8 lessons available387 practice questions

SPACED REPETITION Β· 387 practice questions

Build knowledge you can recall.

Answer questions, get feedback, and build your review pool. Correct answers move toward longer review intervals; missed answers return sooner.

Sign in to practice β†’
Databases

Recall it. Review it. Make it stick.

THE NEXT SMALL STEP

Your lessons

Explore a topic, then put your memory to work.

LESSON01

SELECT Basics β€” Asking Questions

Master the fundamentals of SQL queries: SELECT, FROM, WHERE, filtering, pattern matching, NULL handling, sorting, and limiting results.

47 practice questions
LESSON02

Aggregations β€” Summarizing Data

Learn to summarize and analyze data using COUNT, SUM, AVG, MIN, MAX, GROUP BY, and HAVING. Master the difference between WHERE and HAVING for powerful data analysis.

54 practice questions
LESSON03

JOINs β€” Combining Tables

Learn how to combine data from multiple tables using INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN. Understand why databases split data across tables and how to bring it back...

46 practice questions
LESSON04

Subqueries β€” Queries Inside Queries

Master nested queries, correlated subqueries, EXISTS, IN, and learn when to use subqueries versus joins for complex data retrieval.

45 practice questions
LESSON05

Data Modification β€” INSERT, UPDATE, DELETE

Learn to add, modify, and delete data safely. Master INSERT, UPDATE, DELETE statements with proper conditions, RETURNING clause, and transaction basics.

47 practice questions
LESSON06

Table Design β€” CREATE and ALTER

Design robust database tables with proper data types, constraints, and indexes. Learn to create, modify, and optimize table structures.

53 practice questions
LESSON07

Advanced Queries β€” Window Functions

Master window functions for sophisticated data analysis: ROW_NUMBER, RANK, DENSE_RANK, running totals, moving averages, LAG and LEAD. Level up your SQL analytics.

47 practice questions
LESSON08

Performance & Best Practices

Master SQL optimization: reading EXPLAIN plans, index strategies, avoiding N+1 queries, and writing maintainable code.

48 practice questions

Start with the first lesson and build from there. Your practice progress is saved when you sign in.