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 280 0 0 1561600422000 126426209000 5577144000 174617000000 575 2 16287 58 0 0 280 0 575 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-01 00:15:48.977828 2025-07-01 00:28:08.841212
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sys 3867 0 0 1037932628000 1634405000 268407000 562398000000 3861 1 23184 6 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-01 00:16:31.824640 2025-07-01 00:28:12.630338
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql * 270 0 0 1000488563000 565650550000 3705513000 144827000000 1230 5 108349 401 0 0 246 0 1231 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:15:49.055052 2025-07-01 00:28:08.851598
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 553 0 0 743395090000 7045436000 1344294000 276678000000 24177 44 123051 223 0 0 510 0 23862 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-01 00:15:48.947689 2025-07-01 00:28:08.852847
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... mysql * 1313 0 3 741339069000 4500604000 564614000 263157000000 12304 9 80677 61 0 0 2934 0 22139 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-01 00:15:49.128641 2025-07-01 00:28:15.376129
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
SHOW SESSION VARIABLES LIKE ? mysql * 547 0 0 595253072000 4209271000 1088214000 57746000000 547 1 313978 574 0 0 547 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-01 00:15:48.944856 2025-07-01 00:28:15.366175
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... mysql 1158 0 0 558244291000 2055251000 482076000 311373000000 0 0 3474 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-01 00:15:48.946728 2025-07-01 00:28:08.850381
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 327 0 0 485270381000 3921056000 1484007000 165659000000 19011 58 96036 294 0 0 327 0 19011 0 52130efcc005f1f55d730c79ca046d88d1ea2be12c692ae778... 2025-07-01 00:15:48.656939 2025-07-01 00:28:07.914831
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 `TABLE_CATALOG` , `sch` .... performance_schema * 184 0 0 460372468000 88890791000 2502024000 121408000000 2020 11 75643 411 0 0 169 0 2020 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:15:48.653319 2025-07-01 00:28:07.901498
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... NULL * 450 0 0 435324152000 4779987000 967387000 153682000000 4430 10 28895 64 0 0 1030 0 8220 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-01 00:15:49.245188 2025-07-01 00:28:15.169568
SELECT `cat` . `name` AS `CATALOG_NAME` , `sch` . ... performance_schema * 686 0 0 336236329000 3203066000 490140000 119323000000 5950 9 40029 58 0 0 1534 0 10872 0 db22765f86fdb091d2faced7479895f8497b40140b15fad577... 2025-07-01 00:15:48.771103 2025-07-01 00:28:08.015147
SHOW SESSION VARIABLES LIKE ? performance_schema * 321 0 0 323664337000 4352367000 1008300000 35285000000 321 1 184254 574 0 0 321 0 0 0 6935f3922a42d8845977364d3d83d2ad4e11a53295dfeca9d0... 2025-07-01 00:15:48.640528 2025-07-01 00:28:08.008143
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... sakila 4 0 0 221310431000 66131729000 55327607000 2280000000 14 4 140 35 0 0 4 0 14 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-01 00:15:55.725546 2025-07-01 00:26:16.192142
SHOW TABLES FROM `phpmyadmin` NULL 819 819 0 220254396000 1709532000 268930000 90383000000 0 0 0 0 0 0 0 0 0 0 f5bb748eacacd13477b0b560e396419adad288f4b8dabefd99... 2025-07-01 00:15:48.628349 2025-07-01 00:28:17.236768
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... NULL * 139 0 0 208176444000 4821576000 1497672000 113222000000 4657 34 15922 115 0 0 2 0 4657 0 ba13537dd94689c4264c4c28d0ef4ccb35dd60734589f76d58... 2025-07-01 00:17:16.437159 2025-07-01 00:28:06.255927
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
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 `col` . `name` AS `COLLATION_NAME` , `cs` .... information_schema * 157 0 0 200626949000 3784966000 1277878000 24107000000 2337 15 8446 54 0 0 149 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-01 00:16:04.413037 2025-07-01 00:26:14.452502
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
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 329 0 0 179491264000 2229193000 545566000 99058000000 0 0 987 3 0 0 0 0 0 0 4c1b79eed973bf098a4c2fad1e12545b1192162c6b05bc1650... 2025-07-01 00:15:48.646782 2025-07-01 00:28:07.903436
SELECT `col` . `name` AS `COLLATION_NAME` , `cs` .... mysql * 90 0 0 177430135000 4167983000 1971445000 25531000000 24480 272 28170 313 0 0 90 0 0 0 85fcf4c6bfd4b3011d24e945d53864428e24dd2378b77d4432... 2025-07-01 00:15:52.215011 2025-07-01 00:28:15.363463
SELECT ? FROM ( SELECT `GRANTEE` , `IS_GRANTABLE` ... mysql * 349 0 0 175676508000 1774138000 503371000 57451000000 349 1 1396 4 0 0 2443 0 0 0 10fd6b82750e447978ae64a0f55479eb8f723a721d8f3be40c... 2025-07-01 00:15:49.135537 2025-07-01 00:28:15.378314
SELECT `cat` . `name` AS `TABLE_CATALOG` , `sch` .... performance_schema 164 0 0 159559698000 2614540000 972924000 83792000000 492 3 2794 17 0 0 164 0 492 0 e3754fc046bb107bbb10877d2fe790492ee1d9ae1cb44cfe2c... 2025-07-01 00:15:48.658899 2025-07-01 00:28:07.906159
Query results operations