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 * 1655 0 18 1035612526000 5783995000 625747000 354168000000 16814 10 106738 64 0 0 3693 0 29427 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:01:01.760333 2025-07-03 06:14:11.694324
SHOW SESSION VARIABLES LIKE ? mysql * 687 0 0 883884664000 48429983000 1286586000 87919000000 687 1 394338 574 0 0 687 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-03 06:01:01.569866 2025-07-03 06:14:11.954451
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 568 0 0 843831434000 5567640000 1485618000 302075000000 28720 51 146412 258 0 0 566 0 28708 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-03 06:01:01.576459 2025-07-03 06:14:11.646748
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 782 0 0 830613153000 31125658000 1062165000 315356000000 8421 11 54715 70 0 0 1798 0 15590 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:01:05.874219 2025-07-03 06:14:10.860913
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 1400 0 0 703448847000 2916520000 502463000 389595000000 0 0 4200 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:01:01.574196 2025-07-03 06:14:11.643739
SELECT `a` . `actor_id` AS `actor_id` , `a` . `fir... sakila * 2 0 0 624256454000 333712848000 312128227000 680000000 2 1 645598 322799 0 0 6 0 400 0 91c1850ed235cf0a034cf8492d2dec30e38a40c16f4dc5a7c6... 2025-07-03 06:11:42.778430 2025-07-03 06:11:43.083498
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 283 0 0 549734512000 120020572000 1942524000 199727000000 569 2 18616 66 0 0 283 0 569 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:01:01.628425 2025-07-03 06:14:11.632228
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 296 0 0 484587174000 4748918000 1637118000 169268000000 16400 55 82888 280 0 0 296 0 16400 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-03 06:01:14.285085 2025-07-03 06:14:08.713657
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sys 1609 0 0 476230988000 2153945000 295979000 258584000000 1598 1 9621 6 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:01:40.890602 2025-07-03 06:13:23.915488
CREATE TABLE `students` ( `id` INTEGER AUTO_INCREM... midterm_db 2 0 0 449040565000 237226933000 224520282000 3104000000 0 0 0 0 0 0 0 0 0 0 60a917b87d223c38edce9a1229319b0f1d3d598cde9b79157f... 2025-07-03 06:05:42.418792 2025-07-03 06:09:07.395587
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql * 286 0 0 435974560000 22962285000 1524386000 144497000000 350 1 118035 413 0 0 284 0 350 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-03 06:01:01.704306 2025-07-03 06:14:11.645218
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... information_schema * 334 0 0 432674886000 20234060000 1295433000 48000000000 1717 5 14878 45 0 0 321 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-03 06:01:05.846191 2025-07-03 06:13:38.969721
SHOW TABLES FROM `phpmyadmin` NULL 1235 1235 0 323123398000 821031000 261638000 129866000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2025-07-03 06:01:01.557729 2025-07-03 06:14:11.943932
SHOW SESSION VARIABLES LIKE ? performance_schema * 296 0 0 313184880000 3289331000 1058057000 32261000000 296 1 169904 574 0 0 296 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-03 06:01:14.272163 2025-07-03 06:14:08.817271
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... mysql * 131 0 0 306953637000 5224132000 2343157000 40162000000 35632 272 41003 313 0 0 131 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-03 06:01:06.519980 2025-07-03 06:13:59.391448
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 149 0 0 295641888000 5436131000 1984173000 112659000000 149 1 61259 411 0 0 149 0 149 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-03 06:01:14.282117 2025-07-03 06:14:08.673836
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... NULL * 338 0 0 293935539000 26203503000 869631000 111708000000 338 1 1352 4 0 0 2366 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-03 06:01:05.739257 2025-07-03 06:14:10.866937
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... performance_schema * 596 0 0 280793517000 1782226000 471130000 96977000000 5293 9 35678 60 0 0 1341 0 9674 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:01:14.386530 2025-07-03 06:14:08.823669
CREATE TABLE `users` ( `id` INTEGER AUTO_INCREMENT... workcluster 1 0 0 269784076000 269784076000 269784076000 5192000000 0 0 0 0 0 0 0 0 0 0 842f38a5c2901469065afe47a07567218c1df2ab41f312e1c1... 2025-07-03 06:14:10.516614 2025-07-03 06:14:10.516614
CREATE TABLE `library_PSS` . `bookinfo` ( `bookid`... library_PSS 1 0 0 256401632000 256401632000 256401632000 99000000 0 0 0 0 0 0 0 0 0 0 31678869ac16974bc58a1722978ddf10c956e5a5444167ad62... 2025-07-03 06:06:09.677237 2025-07-03 06:06:09.677237
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... mysql * 442 0 0 238099627000 2307135000 538686000 78705000000 442 1 1768 4 0 0 3094 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-03 06:01:01.767559 2025-07-03 06:14:11.696739
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila 7 0 0 221064203000 80321042000 31580600000 4988000000 20 3 216 31 0 0 7 0 20 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:01:06.948566 2025-07-03 06:14:07.305108
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 308 0 0 187471665000 1815097000 608674000 104738000000 0 0 924 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:01:14.279907 2025-07-03 06:14:08.679175
SELECT ? FROM `mysql` . `user` LIMIT ? NULL 993 0 0 176958763000 908696000 178206000 79817000000 993 1 993 1 0 0 0 0 0 0 caa245231a373af9cc7a93fe5788b8f09816b409a4f960a049... 2025-07-03 06:01:01.562929 2025-07-03 06:14:11.952008
SELECT @@`version` , @@`version_comment` NULL 1235 0 0 167299774000 339943000 135465000 0 1235 1 1235 1 0 0 0 0 0 0 a0fb6033a801ff3ccaad9bb0b05445638ab6c4d8fcb821afff... 2025-07-03 06:01:01.555249 2025-07-03 06:14:11.941704
Query results operations