The SQL editor gives you a full MySQL query interface directly in MySQL UI. Use it when the table view’s built-in filters and sorting are not enough — write any valid MySQL statement, execute it, and see the results in a table below the editor.Documentation Index
Fetch the complete documentation index at: https://docs.w22.dev/llms.txt
Use this file to discover all available pages before exploring further.
Opening the editor
Click the Query tab at the top of the main panel. If you have a table selected in the sidebar, the editor opens pre-populated with:Writing queries
The editor provides MySQL syntax highlighting and keyword auto-complete to help you write queries faster. Keywords, strings, numbers, and comments are each highlighted in a distinct color. The editor grows vertically as you type and adds a scrollbar for very long scripts.Executing a query
Click the Execute button below the editor, or press Ctrl+Enter (or Cmd+Enter on Mac) to run the current query.Reading results
Results appear in the panel below the editor immediately after execution. ForSELECT queries, the results panel shows a table with one column per field returned and one row per result row. The row count is shown in the top-left corner of the results panel (for example, 42 rows).
For INSERT, UPDATE, and DELETE queries, the results panel shows:
- Affected rows — the number of rows modified
- Insert ID — the auto-increment ID of the last inserted row (INSERT only, when applicable)
- Execution time — how long the query took in milliseconds
