Sign in

A joyful way to learn SQL

Write SQL. See how the result comes together.

QueryCraft helps you learn SQL and databases through hands-on missions. Start at the beginning and learn at your own pace.

SQL · SELECT
SELECT name, price
FROM products
WHERE price >= 10
nameprice
Coffee cup12
Pouch10
Illustrative example

GUIDE

QueryCraft user guide

Return to these instructions whenever you need help.

1

Choose a mission

Explore the shop data and the result you need.

2

Build your SQL

Write it yourself or choose tables and conditions in the query builder.

3

Run and discover

Watch each step and check your answer.

4

Explore hints and commands

Use a hint or review a command when you need help.

From SQL basics to deeper learning

We plan to expand from PostgreSQL fundamentals to database-specific syntax and advanced SQL.

FAQ

Frequently asked questions

A few things to know before you start.

Can a beginner use QueryCraft?

Yes. Start with the basics and use the query builder and command lessons.

Can I learn without signing in?

Yes. Guest progress is stored in your current browser.

Does it use a real database?

Yes. Queries run through the server against a PostgreSQL learning database.

What if my SQL has an error?

Read the error, correct your SQL and try again.

What if I get stuck?

Open hints one at a time or review a command lesson.

Can I learn other SQL dialects?

The current course uses PostgreSQL on Supabase. Other dialects and advanced courses are planned for the future.