Skip to main content

Query Execution Visualizer

SQL doesn't execute top-to-bottom. See the real execution order with live data at each step.

Key insight: You write SELECT first, but the database executes FROM first. The real order: FROM → JOIN → WHERE → GROUP BY → HAVING → SELECT → ORDER BY → LIMIT

postgresql

3

Steps

0

Joins

—

Final Rows

—

Time

Execution OrderClick any step to see intermediate data

1FROMLoad all rows from "products"
2WHEREFilter rows: price > 100
3SELECTChoose columns: name, price