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
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
SHOW SESSION VARIABLES LIKE ? mysql * 82 0 0 111914386000 7803585000 1364809000 9405000000 82 1 47068 574 0 0 82 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-03 06:15:49.855620 2025-07-03 06:16:53.998073
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... mysql * 182 0 0 105213967000 2451092000 578098000 36798000000 1660 9 11056 61 0 0 414 0 3056 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:15:50.035412 2025-07-03 06:16:54.005180
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 64 0 0 95453538000 3517123000 1491461000 34001000000 3264 51 16640 260 0 0 64 0 3264 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-03 06:15:49.871323 2025-07-03 06:16:53.954919
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 `CATALOG_NAME` , `sch` . ... NULL * 87 0 0 91055127000 3789245000 1046610000 32671000000 795 9 5281 61 0 0 198 0 1464 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:15:51.140651 2025-07-03 06:16:54.506090
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 32 0 0 88900533000 56397370000 2778141000 18702000000 64 2 2110 66 0 0 32 0 64 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:15:49.928227 2025-07-03 06:16:53.943266
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 160 0 0 83355205000 2392622000 520970000 45934000000 0 0 480 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:15:49.867719 2025-07-03 06:16:53.952660
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 42 0 0 66551750000 3880640000 1584565000 21247000000 2676 64 13506 322 0 0 42 0 2676 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-03 06:15:49.339060 2025-07-03 06:16:35.511582
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila 1 0 0 55347723000 55347723000 55347723000 902000000 4 4 34 34 0 0 1 0 4 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:16:32.815231 2025-07-03 06:16:32.815231
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql * 32 0 0 51481764000 16787469000 1608805000 18310000000 32 1 3254 102 0 0 32 0 32 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-03 06:15:49.979355 2025-07-03 06:16:53.953606
SHOW SESSION VARIABLES LIKE ? performance_schema * 42 0 0 50162472000 4719485000 1194344000 5391000000 42 1 24108 574 0 0 42 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-03 06:15:49.326715 2025-07-03 06:16:35.609927
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... information_schema * 28 0 0 46247350000 3180074000 1651691000 5416000000 51 2 1158 41 0 0 27 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-03 06:16:27.799499 2025-07-03 06:16:54.286494
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... mysql * 16 0 0 43727750000 4907073000 2732984000 5878000000 4352 272 5008 313 0 0 16 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-03 06:15:50.520803 2025-07-03 06:16:53.994712
SET `lc_messages` = ? NULL 118 0 0 40263006000 6554006000 341211000 0 0 0 0 0 0 0 0 0 0 0 67915ea6a14edd3032a0638d83d09c9966d5db926c1ce4edec... 2025-07-03 06:15:49.313326 2025-07-03 06:16:54.864415
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... performance_schema * 84 0 0 38786573000 1011276000 461744000 13716000000 698 8 4681 56 0 0 189 0 1270 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:15:49.392151 2025-07-03 06:16:35.616049
SHOW TABLES FROM `phpmyadmin` NULL 118 118 0 37044343000 1300301000 313935000 14763000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2025-07-03 06:15:49.314438 2025-07-03 06:16:54.866236
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 21 0 0 34958719000 4393601000 1664700000 16260000000 21 1 2882 137 0 0 21 0 21 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-03 06:15:49.334820 2025-07-03 06:16:35.489987
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 42 0 0 26367016000 2380545000 627786000 15116000000 0 0 126 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:15:49.331116 2025-07-03 06:16:35.492739
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... mysql * 50 0 0 25664877000 1220424000 513297000 8271000000 50 1 200 4 0 0 350 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-03 06:15:50.041982 2025-07-03 06:16:54.007220
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... NULL * 32 0 0 24747224000 1920623000 773350000 7993000000 32 1 128 4 0 0 224 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-03 06:15:51.148719 2025-07-03 06:16:54.509127
SELECT `description` FROM `sakila` . `film` WHERE ... sakila 25 0 0 23545316000 19508849000 941812000 2069000000 25 1 25 1 0 0 0 0 0 0 536d3a2b5593dff464249877807af340851011e3da3dac1a6e... 2025-07-03 06:16:32.863082 2025-07-03 06:16:32.896027
SELECT ? FROM `mysql` . `user` LIMIT ? NULL 111 0 0 22636001000 1322322000 203927000 10607000000 111 1 111 1 0 0 0 0 0 0 caa245231a373af9cc7a93fe5788b8f09816b409a4f960a049... 2025-07-03 06:15:49.320327 2025-07-03 06:16:54.880103
SELECT `performance_schema` . `events_statements_s... sys * 3 0 0 21729525000 20334791000 7243175000 675000000 26 9 301 100 0 0 0 0 26 0 8b22b06fe671437418edb1a3633c0f481cc712f261f1eb7654... 2025-07-03 06:16:54.468590 2025-07-03 06:16:54.540834
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 21 0 0 20832202000 2597459000 992009000 10238000000 63 3 357 17 0 0 21 0 63 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:15:49.340843 2025-07-03 06:16:35.496840
Query results operations