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 `TABLE_CATALOG` , `sch` .... mysql 317 0 0 1603181680000 126426209000 5057355000 196836000000 649 2 18729 59 0 0 317 0 649 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-01 00:15:48.977828 2025-07-01 00:29:48.787001
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sys 3964 0 0 1077709290000 1634405000 271874000 583919000000 3957 1 23763 6 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-01 00:16:31.824640 2025-07-01 00:29:48.818791
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql * 310 0 0 1065665238000 565650550000 3437629000 167900000000 1366 4 124741 402 0 0 284 0 1367 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:15:49.055052 2025-07-01 00:29:48.804539
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 627 0 0 852074122000 7045436000 1358969000 315218000000 27951 45 142291 227 0 0 584 0 27636 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-01 00:15:48.947689 2025-07-01 00:29:48.806631
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... mysql * 1489 0 3 843550425000 4500604000 566521000 299367000000 13906 9 91401 61 0 0 3330 0 25083 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-01 00:15:49.128641 2025-07-01 00:29:48.845374
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila 28 0 0 725884017000 93010047000 25924429000 24677000000 65 2 669 24 0 0 28 0 65 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-01 00:15:55.725546 2025-07-01 00:29:04.616635
SHOW SESSION VARIABLES LIKE ? mysql * 630 0 0 687461719000 4209271000 1091209000 66844000000 630 1 361620 574 0 0 630 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-01 00:15:48.944856 2025-07-01 00:29:48.838792
SELECT IF ( ( `locate` ( ? , `ibp` . `TABLE_NAME` ... sys * 6 0 2 679485300000 522308919000 113247550000 1611000000 52 9 38528 6421 0 0 34 4 2770 4 bf060aa9a5df456317f07a0159bcd8e91c9fd9a588a89d87d4... 2025-07-01 00:25:05.942557 2025-07-01 00:26:52.498058
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 1343 0 0 650043651000 2055251000 484023000 362460000000 0 0 4029 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-01 00:15:48.946728 2025-07-01 00:29:48.802695
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 359 0 0 545692489000 3921056000 1520034000 185742000000 21007 59 106112 296 0 0 359 0 21007 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-01 00:15:48.656939 2025-07-01 00:29:39.331199
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema * 200 0 0 494753406000 88890791000 2473767000 134339000000 2036 10 82251 411 0 0 185 0 2036 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:15:48.653319 2025-07-01 00:29:39.300436
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 491 0 0 473516574000 4779987000 964392000 167152000000 4812 10 31416 64 0 0 1123 0 8924 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-01 00:15:49.245188 2025-07-01 00:29:49.527667
CREATE TABLE `Prestamo` ( `ID_Prestamo` INTEGER PR... prestamos_biblioteca 1 0 0 470450489000 470450489000 470450489000 550000000 0 0 0 0 0 0 0 0 0 0 23d94baf10d266885b9bb79c33456286d083675678d3978bec... 2025-07-01 00:19:06.844966 2025-07-01 00:19:06.844966
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... performance_schema * 750 0 0 365063024000 3203066000 486750000 129748000000 6510 9 43805 58 0 0 1678 0 11896 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-01 00:15:48.771103 2025-07-01 00:29:39.450798
SHOW SESSION VARIABLES LIKE ? performance_schema * 353 0 0 359016382000 4352367000 1017043000 39028000000 353 1 202622 574 0 0 353 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-01 00:15:48.640528 2025-07-01 00:29:39.444147
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila * 17 0 0 305819685000 175905359000 17989393000 12308000000 281 17 3809 224 0 0 6 0 281 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:15:55.774474 2025-07-01 00:29:04.722924
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... information_schema * 207 0 0 259517139000 3784966000 1253705000 30715000000 2387 12 10546 51 0 0 199 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-01 00:16:04.413037 2025-07-01 00:29:43.456622
SHOW TABLES FROM `phpmyadmin` NULL 922 922 0 248858889000 1709532000 269912000 101633000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2025-07-01 00:15:48.628349 2025-07-01 00:29:49.816052
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... NULL * 154 0 0 224617661000 4821576000 1458556000 123635000000 4761 31 16733 109 0 0 3 0 4761 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:17:16.437159 2025-07-01 00:29:39.477920
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... mysql * 100 0 0 208644898000 4167983000 2086448000 29578000000 27200 272 31300 313 0 0 100 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-01 00:15:52.215011 2025-07-01 00:29:46.114820
CREATE TABLE `Alumno` ( `ID_Alumno` INTEGER PRIMAR... prestamos_biblioteca 1 0 0 203022985000 203022985000 203022985000 575000000 0 0 0 0 0 0 0 0 0 0 aca583164bcac83128471db64d6c55e00181c272ab08f6f152... 2025-07-01 00:19:06.358468 2025-07-01 00:19:06.358468
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... mysql * 396 0 0 202390896000 1774138000 511088000 66185000000 396 1 1584 4 0 0 2772 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-01 00:15:49.135537 2025-07-01 00:29:48.847449
CREATE TABLE `Libro` ( `ID_Libro` INTEGER PRIMARY ... prestamos_biblioteca 1 0 0 201951215000 201951215000 201951215000 140000000 0 0 0 0 0 0 0 0 0 0 8f478c262883079cd57d2c12c3949c79639cde2eb055f6b024... 2025-07-01 00:19:06.137160 2025-07-01 00:19:06.137160
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 361 0 0 201467434000 2229193000 558081000 111235000000 0 0 1083 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-01 00:15:48.646782 2025-07-01 00:29:39.304999
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... pw 5 0 0 179966503000 51672372000 35993300000 5598000000 10 2 103 21 0 0 5 0 10 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-01 00:26:27.157121 2025-07-01 00:26:27.319673
Query results operations