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 `x$statement_analysis`
query db full_scan exec_count err_count warn_count total_latency max_latency avg_latency lock_latency rows_sent rows_sent_avg rows_examined rows_examined_avg rows_affected rows_affected_avg tmp_tables tmp_disk_tables rows_sorted sort_merge_passes digest first_seen last_seen
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... mysql * 535 0 1 311342437000 3438433000 581948000 109037000000 4923 9 32551 61 0 0 1213 0 8977 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:15:50.035412 2025-07-03 06:19:53.575181
SHOW SESSION VARIABLES LIKE ? mysql * 241 0 0 289030766000 7803585000 1199297000 25754000000 241 1 138334 574 0 0 241 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-03 06:15:49.855620 2025-07-03 06:19:53.573401
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 196 0 0 280532145000 6807279000 1431286000 99602000000 9996 51 50960 260 0 0 196 0 9996 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-03 06:15:49.871323 2025-07-03 06:19:53.539229
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 490 0 0 237726221000 2392622000 485155000 130709000000 0 0 1470 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:15:49.867719 2025-07-03 06:19:53.537048
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 228 0 0 229477732000 3811768000 1006481000 81701000000 2106 9 14077 62 0 0 519 0 3882 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:15:51.140651 2025-07-03 06:19:53.499436
CREATE TABLE `students` ( `id` INTEGER AUTO_INCREM... midterm_db 1 0 0 222927286000 222927286000 222927286000 1441000000 0 0 0 0 0 0 0 0 0 0 60a917b87d223c38edce9a1229319b0f1d3d598cde9b79157f... 2025-07-03 06:16:03.228214 2025-07-03 06:16:03.228214
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 114 0 0 162146409000 3880640000 1422336000 54111000000 6860 60 34642 304 0 0 114 0 6860 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-03 06:15:49.339060 2025-07-03 06:19:52.933389
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... information_schema * 109 0 0 160457964000 3697660000 1472091000 18997000000 178 2 4524 42 0 0 106 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-03 06:16:27.799499 2025-07-03 06:18:45.709437
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 98 0 0 157970179000 56397370000 1611940000 55125000000 196 2 6466 66 0 0 98 0 196 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:15:49.928227 2025-07-03 06:19:53.522826
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila 3 0 0 156862363000 66220064000 52287454000 3522000000 10 3 101 34 0 0 3 0 10 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:16:32.815231 2025-07-03 06:19:31.935164
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql * 99 0 0 122624634000 16787469000 1238632000 52275000000 131 1 10183 103 0 0 98 0 131 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-03 06:15:49.979355 2025-07-03 06:19:53.537991
SHOW SESSION VARIABLES LIKE ? performance_schema * 114 0 0 117593360000 4719485000 1031520000 12536000000 114 1 65436 574 0 0 114 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-03 06:15:49.326715 2025-07-03 06:19:53.031818
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... mysql * 44 0 0 110793009000 4907073000 2518022000 15057000000 11968 272 13772 313 0 0 44 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-03 06:15:50.520803 2025-07-03 06:19:33.200999
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... performance_schema * 228 0 0 106612511000 1611433000 467598000 37584000000 1922 8 12925 57 0 0 513 0 3502 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:15:49.392151 2025-07-03 06:19:53.038856
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila * 3 0 0 97150398000 41212716000 32383466000 2996000000 3 1 177 59 0 0 3 0 3 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-03 06:16:32.747543 2025-07-03 06:19:31.853673
CREATE SCHEMA `midterm_db` CHARACTER SET `utf8mb4`... NULL 1 0 0 92514992000 92514992000 92514992000 2563000000 0 0 0 0 1 1 0 0 0 0 cc42ce12c0b10f3829ae58b640f806b98324d3aa8b90b7698c... 2025-07-03 06:16:02.974379 2025-07-03 06:16:02.974379
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 57 0 0 88649588000 4571920000 1555255000 40593000000 57 1 7850 138 0 0 57 0 57 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-03 06:15:49.334820 2025-07-03 06:19:52.920202
SHOW TABLES FROM `phpmyadmin` NULL 319 319 0 88374987000 1300301000 277037000 35799000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2025-07-03 06:15:49.314438 2025-07-03 06:19:53.575668
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... pw 3 0 0 77834032000 51896472000 25944677000 2272000000 5 2 53 18 0 0 3 0 5 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:17:39.050411 2025-07-03 06:19:07.068954
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sys 189 0 0 76615019000 1566453000 405370000 40673000000 189 1 1134 6 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:16:29.987107 2025-07-03 06:19:53.568554
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... mysql * 145 0 0 75276463000 1894666000 519148000 24591000000 145 1 580 4 0 0 1015 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-03 06:15:50.041982 2025-07-03 06:19:39.174421
SET `lc_messages` = ? NULL 318 0 0 72019924000 6554006000 226477000 0 0 0 0 0 0 0 0 0 0 0 67915ea6a14edd3032a0638d83d09c9966d5db926c1ce4edec... 2025-07-03 06:15:49.313326 2025-07-03 06:19:53.575232
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 117 0 0 65448367000 2380545000 559387000 36781000000 0 0 351 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:15:49.331116 2025-07-03 06:19:52.921821
SELECT `performance_schema` . `events_statements_s... sys * 27 0 0 59715957000 20334791000 2211702000 4844000000 234 9 4055 150 0 0 0 0 234 0 8b22b06fe671437418edb1a3633c0f481cc712f261f1eb7654... 2025-07-03 06:16:54.468590 2025-07-03 06:19:53.571492
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... NULL * 73 0 0 58284869000 2065727000 798422000 18534000000 73 1 292 4 0 0 511 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-03 06:15:51.148719 2025-07-03 06:19:53.502780
Query results operations