Fix MySQL demo query for existing hr tables
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ SAMPLES: dict[str, list[dict[str, str]]] = {
|
||||
{"id": "my7", "label": "Active connections", "sql": "SHOW STATUS LIKE 'Threads_connected';"},
|
||||
{"id": "my8", "label": "InnoDB buffer pool", "sql": "SHOW STATUS LIKE 'Innodb_buffer_pool%';"},
|
||||
{"id": "my9", "label": "Explain count scan", "sql": "EXPLAIN SELECT COUNT(*) FROM employee_events;"},
|
||||
{"id": "my10", "label": "Departments overview", "sql": "SELECT department, COUNT(*) AS employees FROM employees GROUP BY department ORDER BY employees DESC LIMIT 10;"},
|
||||
{"id": "my10", "label": "Events per employee", "sql": "SELECT employee_id, COUNT(*) AS events FROM employee_events GROUP BY employee_id ORDER BY events DESC LIMIT 10;"},
|
||||
],
|
||||
"mongodb": [
|
||||
{"id": "mg1", "label": "List databases", "sql": "SHOW DATABASES"},
|
||||
|
||||
Reference in New Issue
Block a user