// SQLDOU — SQL Query Execution Plan Visualizer

See what SQL
does inside.

Pick a query and SQLDOU builds its execution plan automatically (Full Scan → WHERE → JOIN → GROUP BY → ORDER BY), then animates every row as it travels from the table to the result. Run the same SQL with and without an index and compare exactly how much faster it gets.

v5.0.1 (iOS) 16 languages Free / Pro one-time purchase Part 3 of the "DOU" series

Free Mode in SQLDOU: running WHERE age > 30 on the users table and comparing Full Scan with a B-Tree index

$ Missions — 20 MISSIONS / Lv1-6

20 missions across six levels take you step by step. Every mission comes with a prediction quiz, so you learn through a "predict → run → check" cycle instead of just watching.

LvTopicMissions
Lv1SELECT / WHERE — the basics of SQL5FREE
Lv2Scan methods — feel the speed gap between full scans and indexes4FREE
Lv3ORDER BY / DISTINCT — sorting and de-duplication3PRO
Lv4GROUP BY — aggregate functions, visualized3PRO
Lv5JOIN — how tables are joined2PRO
Lv6Final practice — index optimization challenges3PRO
  1. 01Predict. Look at the real table data and answer a four-choice prediction quiz.
  2. 02Run. Follow each step of the plan as rows PASS or SKIP, animated.
  3. 03Check. Review the result and the diagnosis. Earn up to 3 stars: clear the mission, use the recommended scan, and get the quiz right.
  sqldou — example run
$ SELECT * FROM users WHERE age > 30;

QUERY
  └─ FULL_SCAN   users  (5 rows)
       └─ WHERE   age > 30
            └─ RESULT

row 1/5  id=1 age=28  SKIP
row 2/5  id=2 age=35  PASS
row 3/5  id=3 age=22  SKIP
...

Result:   5 rows → 3 rows  (-40%)
Compare:  Full Scan      2,700ms
          B-Tree Index   1,750ms
→ B-Tree Index is 1.5x faster

$ Features — FEATURES

Write SQL, watch the result. Understand how rows move inside a database by trying it yourself.

PLAN

Automatic execution plans, animated

Your SQL is parsed into an execution plan, and rows are animated as they flow through each step. A diagram of the tables and indexes is shown alongside.

COMPARE

Full Scan vs index, compared automatically

The same SQL runs with a full scan and with an index, and the execution time and speed-up are shown side by side. You see in numbers why indexes are fast.

NARRATION

Live scan narration

"Checking row 3/20..." — see the row being read, the WHERE condition and the PASS / SKIP decision in real time.

QUIZ

Prediction quizzes and stars

Each of the 20 missions has its own four-choice quiz. Predict the result from the real data before you run it. Stars (up to 3) track your progress.

FREE MODE

Free Mode

Freely combine tables (users / orders / products), SQL and scan methods (Full Scan / B-Tree / Hash) and see what happens.

PRO

Custom Quiz Mode (multiple tables + JOIN)

Define your own table names, columns, types and rows, write any SQL, then save and run it. Supports multiple tables and JOIN queries built with the visual builder.

DIAGNOSIS

Diagnosis

Explanations tailored to your result. Pro adds a detailed diagnosis in three parts: why it is slow, how to improve it, and background knowledge.

I18N

16 languages

English, Japanese, Chinese (Simplified / Traditional), Spanish, Portuguese (Brazil), Korean, German, French, Hindi, Indonesian, Russian, Italian, Turkish, Thai and Vietnamese. The app follows your device language.

$ What you learn — EXECUTION PLAN NODES

Inspect each operation in an execution plan, one by one. You can also see how JOIN, GROUP BY and ORDER BY wait for every row before processing them as a batch.

FULL SCANScans every row without an index. Feel why it is slow
FREE
B-Tree IndexO(log n). Finds rows for range and equality searches
FREE
WHERECondition filter. Shows PASS / SKIP for each row
FREE
SELECT / RESULTColumn selection and the final output
FREE
Hash IndexO(1) equality lookup. When to use it instead of B-Tree
PRO
JOINHow rows from two tables are combined
PRO
GROUP BYCOUNT / SUM / AVG / MAX / MIN aggregation
PRO
ORDER BYSorting in ASC / DESC order
PRO
DISTINCTWatch de-duplication step by step
PRO

$ Pricing — PRICING

Pro is a one-time purchase. No subscription.

FREE

Free
  • Lv1-2 missions (9 missions)
  • Basic diagnosis (one-line comments)
  • Full Scan / B-Tree index
  • Free Mode
  • Banner ads

PRO — one-time purchase

¥1,000
  • All 20 missions (unlocks Lv3-6)
  • Detailed diagnosis (why / improve / background)
  • Hash Index
  • JOIN / GROUP BY / ORDER BY / DISTINCT
  • Custom Quiz Mode (multiple tables + JOIN)
  • No ads

The price shown is for Japan. In other countries and regions, the App Store shows the equivalent local price.

Made for: students and junior engineers learning SQL, anyone who wants an intuitive feel for why indexes are fast, people learning to read execution plans, and teachers looking for classroom or training material.

iPhone / iPad iOS 16.0 or later

$ Screenshots — GALLERY