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 * 452 0 0 264159389000 3438433000 584423000 92012000000 4120 9 27480 61 0 0 1027 0 7582 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:15:50.035412 2025-07-03 06:19:01.731432
SHOW SESSION VARIABLES LIKE ? mysql * 204 0 0 253032752000 7803585000 1240356000 22240000000 204 1 117096 574 0 0 204 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-03 06:15:49.855620 2025-07-03 06:18:58.176105
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 166 0 0 241493908000 6807279000 1454782000 86046000000 8466 51 43160 260 0 0 166 0 8466 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-03 06:15:49.871323 2025-07-03 06:18:58.147425
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` .... mysql 415 0 0 205426813000 2392622000 495004000 112942000000 0 0 1245 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:15:49.867719 2025-07-03 06:18:58.145036
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 191 0 0 192179398000 3811768000 1006174000 68702000000 1769 9 11792 62 0 0 435 0 3262 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:15:51.140651 2025-07-03 06:19:03.379189
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 83 0 0 144597525000 56397370000 1742138000 47946000000 166 2 5476 66 0 0 83 0 166 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:15:49.928227 2025-07-03 06:18:58.135295
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 92 0 0 138072262000 3880640000 1500785000 46181000000 5544 60 27996 304 0 0 92 0 5544 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-03 06:15:49.339060 2025-07-03 06:18:59.424719
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql * 84 0 0 107150722000 16787469000 1275603000 44965000000 116 1 8653 103 0 0 83 0 116 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-03 06:15:49.979355 2025-07-03 06:18:58.146088
SHOW SESSION VARIABLES LIKE ? performance_schema * 92 0 0 100577568000 4719485000 1093234000 10582000000 92 1 52808 574 0 0 92 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-03 06:15:49.326715 2025-07-03 06:18:59.464335
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... mysql * 36 0 0 95522882000 4907073000 2653413000 13046000000 9792 272 11268 313 0 0 36 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-03 06:15:50.520803 2025-07-03 06:18:53.747147
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` . ... performance_schema * 184 0 0 86681051000 1611433000 471092000 30522000000 1548 8 10406 57 0 0 414 0 2820 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-03 06:15:49.392151 2025-07-03 06:18:59.470469
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 46 0 0 77647805000 4571920000 1687995000 35689000000 46 1 6332 138 0 0 46 0 46 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-03 06:15:49.334820 2025-07-03 06:18:59.416792
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... pw 2 0 0 76848860000 51896472000 38424430000 1732000000 3 2 33 17 0 0 2 0 3 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:17:39.050411 2025-07-03 06:18:22.536740
SHOW TABLES FROM `phpmyadmin` NULL 261 261 0 74960881000 1300301000 287206000 30335000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2025-07-03 06:15:49.314438 2025-07-03 06:19:03.387157
SET `lc_messages` = ? NULL 260 0 0 66209576000 6554006000 254652000 0 0 0 0 0 0 0 0 0 0 0 67915ea6a14edd3032a0638d83d09c9966d5db926c1ce4edec... 2025-07-03 06:15:49.313326 2025-07-03 06:19:03.386665
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... mysql * 123 0 0 64963332000 1894666000 528157000 21197000000 123 1 492 4 0 0 861 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-03 06:15:50.041982 2025-07-03 06:19:01.733571
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 95 0 0 57226849000 2380545000 602387000 32229000000 0 0 285 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:15:49.331116 2025-07-03 06:18:59.418107
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 ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... NULL * 62 0 0 47837422000 1920623000 771571000 15336000000 62 1 248 4 0 0 434 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-03 06:15:51.148719 2025-07-03 06:19:03.381722
SELECT ? FROM `mysql` . `user` LIMIT ? NULL 249 0 0 47428816000 1322322000 190477000 21753000000 249 1 249 1 0 0 0 0 0 0 caa245231a373af9cc7a93fe5788b8f09816b409a4f960a049... 2025-07-03 06:15:49.320327 2025-07-03 06:19:03.390881
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 46 0 0 44591587000 2597459000 969382000 22981000000 137 3 778 17 0 0 46 0 137 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-03 06:15:49.340843 2025-07-03 06:18:59.419713
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sys 77 0 0 43303544000 1566453000 562383000 22701000000 77 1 462 6 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-03 06:16:29.987107 2025-07-03 06:19:03.355924
Query results operations