SQL Explorer
Demo Environment
This environment resets nightly. Any data or connections you add are public.
SQL Explorer
New Query
Playground
Connections
Annotations
Logs
Favorites
Longest running queries
no such table: explorer_querylog
Title
northwind.db
sqlite-sakila.db
MSSQL
trial
Connection
Which queries take the longest to run, on average?
Description
SQL
SELECT sql, AVG(duration) AS average_duration FROM explorer_querylog GROUP BY sql ORDER BY average_duration DESC;
Assistant Example
Save & Run
Save Only
Download...
CSV
JSON
Show Schema
Hide Schema
SQL Assistant
Loading...
Assistant prompt
"Ask Assistant" to try and automatically fix the issue. The assistant is already aware of error messages & context.
Ask Assistant
Avg. execution: 0.550ms. Query created by admin on 2024-05-17.
History