Drop files here

SQL upload ( 0 ) x -

Press Ctrl+Enter to execute query Press Enter to execute query
ascending
descending
Order:
Debug SQL
Count
Execution order
Time taken
Order by:
Group queries
Ungroup queries
Collapse Expand Show trace Hide trace Count: Time taken:
Options
Restore default values
Collapse Expand Requery Edit Explain Profiling Query failed Database: Queried time:
Browse mode
Customize browse mode.
Browse mode
Documentation Use only icons, only text or both. Restore default value
Documentation Use only icons, only text or both. Restore default value
Documentation Whether a user should be displayed a "show all (rows)" button. Restore default value
Documentation Number of rows displayed when browsing a result set. If the result set contains more rows, "Previous" and "Next" links will be shown. Restore default value
Documentation SMART - i.e. descending order for columns of type TIME, DATE, DATETIME and TIMESTAMP, ascending order otherwise. Restore default value
Documentation Highlight row pointed by the mouse cursor. Restore default value
Documentation Highlight selected rows. Restore default value
Documentation Restore default value
Documentation Restore default value
Documentation Repeat the headers every X cells, 0 deactivates this feature. Restore default value
Documentation Maximum number of characters shown in any non-numeric column on browse view. Restore default value
Documentation These are Edit, Copy and Delete links. Restore default value
Documentation Whether to show row links even in the absence of a unique key. Restore default value
Documentation Default sort order for tables with a primary key. Restore default value
Documentation When browsing tables, the sorting of each table is remembered. Restore default value
Documentation For display Options Restore default value
SELECT * FROM `statements_with_sorting`
query db exec_count total_latency sort_merge_passes avg_sort_merges sorts_using_scans sort_using_range rows_sorted avg_rows_sorted first_seen last_seen digest
SELECT `cat` . `name` AS `CATA ... database` ( `sc... mysql 452 264.16 ms 0 0 246 0 7582 17 2025-07-03 06:15:50.035412 2025-07-03 06:19:01.731432 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... mysql 166 241.49 ms 0 0 166 0 8466 51 2025-07-03 06:15:49.871323 2025-07-03 06:18:58.147425 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... NULL 191 192.18 ms 0 0 106 0 3262 17 2025-07-03 06:15:51.140651 2025-07-03 06:19:03.379189 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT `cat` . `name` AS `TABL ... D ) , ? ) ) AS ... mysql 83 144.60 ms 0 0 83 0 166 2 2025-07-03 06:15:49.928227 2025-07-03 06:18:58.135295 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... performance_schema 92 138.07 ms 0 0 92 0 5544 60 2025-07-03 06:15:49.339060 2025-07-03 06:18:59.424719 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... mysql 84 107.15 ms 0 0 84 0 116 1 2025-07-03 06:15:49.979355 2025-07-03 06:18:58.146088 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... performance_schema 184 86.68 ms 0 0 92 0 2820 15 2025-07-03 06:15:49.392151 2025-07-03 06:18:59.470469 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... performance_schema 46 77.65 ms 0 0 46 0 46 1 2025-07-03 06:15:49.334820 2025-07-03 06:18:59.416792 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT `cat` . `name` AS `TABL ... D ) , ? ) ) AS ... pw 2 76.85 ms 0 0 2 0 3 2 2025-07-03 06:17:39.050411 2025-07-03 06:18:22.536740 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c...
SELECT `cat` . `name` AS `TABL ... D ) , ? ) ) AS ... sakila 1 55.35 ms 0 0 1 0 4 4 2025-07-03 06:16:32.815231 2025-07-03 06:16:32.815231 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c...
SELECT `cat` . `name` AS `TABL ... D ) , ? ) ) AS ... performance_schema 46 44.59 ms 0 0 46 0 137 3 2025-07-03 06:15:49.340843 2025-07-03 06:18:59.419713 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c...
SELECT `performance_schema` .  ... TIMER_WAIT` AS ... sys 12 40.12 ms 0 0 8 0 104 9 2025-07-03 06:16:54.468590 2025-07-03 06:19:03.359257 8b22b06fe671437418edb1a3633c0f481cc712f261f1eb7654...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... pw 3 39.32 ms 0 0 3 0 3 1 2025-07-03 06:17:39.070966 2025-07-03 06:18:22.478142 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... information_schema 20 20.97 ms 0 0 16 0 76 4 2025-07-03 06:16:27.773452 2025-07-03 06:18:45.677899 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... sakila 1 18.41 ms 0 0 1 0 1 1 2025-07-03 06:16:32.747543 2025-07-03 06:16:32.747543 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT IF ( ( `performance_sch ... EXAMINED` AS `r... sys 3 17.52 ms 0 0 2 0 20 7 2025-07-03 06:16:29.983187 2025-07-03 06:16:30.059629 e85a40911f06c1784e8538d92b8ec4f357d6cb941337927cf4...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... test19 1 17.46 ms 0 0 1 0 1 1 2025-07-03 06:18:26.699836 2025-07-03 06:18:26.699836 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... sys 10 14.40 ms 0 0 10 0 204 20 2025-07-03 06:16:29.990038 2025-07-03 06:19:03.314654 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... information_schema 25 13.63 ms 0 0 16 0 496 20 2025-07-03 06:16:27.863067 2025-07-03 06:18:45.704636 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... sys 20 12.03 ms 0 0 10 0 310 16 2025-07-03 06:16:30.037672 2025-07-03 06:19:03.353230 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
( SELECT DISTINCTROW `User` ,  ... DER BY `User` A... mysql 1 11.35 ms 0 0 1 0 9 9 2025-07-03 06:17:09.773716 2025-07-03 06:17:09.773716 6fde62466af48d108728b06ee676e9cbd6817cf5b67f2a46e5...
SELECT `cat` . `name` AS `CATA ... database` ( `sc... pw 8 9.81 ms 0 0 4 0 124 16 2025-07-03 06:17:39.138490 2025-07-03 06:18:22.568479 db22765f86fdb091d2faced7479895f8497b40140b15fad577...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... sakila 4 9.11 ms 0 0 2 0 8 2 2025-07-03 06:16:32.759385 2025-07-03 06:16:32.834610 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `TABL ... ASE `col` . `ty... pw 5 8.35 ms 0 0 4 0 11 2 2025-07-03 06:17:39.053067 2025-07-03 06:18:22.484333 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778...
SELECT `cat` . `name` AS `TABL ... me` AS UNSIGNED... NULL 7 8.13 ms 0 0 7 0 114 16 2025-07-03 06:16:11.480287 2025-07-03 06:18:46.848946 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58...
Query results operations