Drop files here

SQL upload ( 0 ) x -

Page-related settings Click on the bar to scroll to top of page
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 :
Bookmarks
Refresh
Add
No bookmarks
Add bookmark
Options
Set default





Collapse Expand Requery Edit Explain Profiling Bookmark 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 `innodb_index_stats` ORDER BY `stat_value` DESC 
Edit inline ] [ Edit ] [ Explain SQL ] [ Create PHP code ] [ Refresh ]
Full texts database_name table_name index_name last_update stat_name stat_value Descending Ascending 1 sample_size stat_description
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'phpmyadmin' AND `innodb_index_stats`.`table_name` = 'pma__table_uiprefs' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx03'
phpmyadmin pma__table_uiprefs PRIMARY 2026-08-03 21:57:39 n_diff_pfx03 62 1 username,db_name,table_name
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'time_slots' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking time_slots PRIMARY 2026-08-03 19:40:03 n_diff_pfx01 5 1 time_slot_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'time_slots' AND `innodb_index_stats`.`index_name` = 'uq_time' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking time_slots uq_time 2026-08-03 19:40:03 n_diff_pfx01 5 1 start_time
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'time_slots' AND `innodb_index_stats`.`index_name` = 'uq_time' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
thai_medicine_booking time_slots uq_time 2026-08-03 19:40:03 n_diff_pfx02 5 1 start_time,end_time
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'phpmyadmin' AND `innodb_index_stats`.`table_name` = 'pma__table_uiprefs' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
phpmyadmin pma__table_uiprefs PRIMARY 2026-08-03 21:57:39 n_diff_pfx02 4 1 username,db_name
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'services' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking services PRIMARY 2026-08-03 19:40:02 n_diff_pfx01 4 1 service_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'services' AND `innodb_index_stats`.`index_name` = 'service_name' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking services service_name 2026-08-03 19:40:02 n_diff_pfx01 4 1 service_name
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'blocked_slots' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking blocked_slots PRIMARY 2026-08-03 23:42:58 n_diff_pfx01 4 1 blocked_slot_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'blocked_slots' AND `innodb_index_stats`.`index_name` = 'time_slot_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking blocked_slots time_slot_id 2026-08-03 23:42:58 n_diff_pfx01 4 1 time_slot_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'blocked_slots' AND `innodb_index_stats`.`index_name` = 'time_slot_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
thai_medicine_booking blocked_slots time_slot_id 2026-08-03 23:42:58 n_diff_pfx02 4 1 time_slot_id,blocked_slot_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'blocked_slots' AND `innodb_index_stats`.`index_name` = 'uq_blocked_slot' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
thai_medicine_booking blocked_slots uq_blocked_slot 2026-08-03 23:42:58 n_diff_pfx02 4 1 blocked_date,time_slot_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking appointments PRIMARY 2026-08-03 23:38:40 n_diff_pfx01 3 1 appointment_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'patient_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
thai_medicine_booking appointments patient_id 2026-08-03 23:38:40 n_diff_pfx02 3 1 patient_id,appointment_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'service_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
thai_medicine_booking appointments service_id 2026-08-03 23:38:40 n_diff_pfx02 3 1 service_id,appointment_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'booking_code' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking appointments booking_code 2026-08-03 23:38:40 n_diff_pfx01 3 1 booking_code
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'time_slot_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking appointments time_slot_id 2026-08-03 23:38:40 n_diff_pfx01 3 1 time_slot_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'time_slot_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
thai_medicine_booking appointments time_slot_id 2026-08-03 23:38:40 n_diff_pfx02 3 1 time_slot_id,appointment_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'uq_active_slot' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking appointments uq_active_slot 2026-08-03 23:38:40 n_diff_pfx01 3 1 active_slot_key
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'idx_date_status' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
thai_medicine_booking appointments idx_date_status 2026-08-03 23:38:40 n_diff_pfx02 3 1 appointment_date,status
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'idx_date_status' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx03'
thai_medicine_booking appointments idx_date_status 2026-08-03 23:38:40 n_diff_pfx03 3 1 appointment_date,status,appointment_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'patients' AND `innodb_index_stats`.`index_name` = 'PRIMARY' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking patients PRIMARY 2026-08-03 20:37:10 n_diff_pfx01 2 1 patient_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'patients' AND `innodb_index_stats`.`index_name` = 'idx_phone' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking patients idx_phone 2026-08-03 20:37:10 n_diff_pfx01 2 1 phone
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'patients' AND `innodb_index_stats`.`index_name` = 'idx_phone' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx02'
thai_medicine_booking patients idx_phone 2026-08-03 20:37:10 n_diff_pfx02 2 1 phone,patient_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'patients' AND `innodb_index_stats`.`index_name` = 'citizen_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking patients citizen_id 2026-08-03 20:37:10 n_diff_pfx01 2 1 citizen_id
Edit Edit Copy Copy Delete Delete
DELETE FROM innodb_index_stats WHERE `innodb_index_stats`.`database_name` = 'thai_medicine_booking' AND `innodb_index_stats`.`table_name` = 'appointments' AND `innodb_index_stats`.`index_name` = 'patient_id' AND `innodb_index_stats`.`stat_name` = 'n_diff_pfx01'
thai_medicine_booking appointments patient_id 2026-08-03 23:38:40 n_diff_pfx01 2 1 patient_id
With selected: With selected:
Query results operations Copy to clipboard Copy to clipboard Export Export Display chart Display chart Create view Create view
Bookmark this SQL query Bookmark this SQL query