MySQL Workbench 5.2 introduced the SQL Editor facility. The SQL Editor
can be launched using various action items on the Home window. It
can also be launched by selecting Database,
Query Database from the main menu, or
by using the keyboard shortcut Control+U on
Windows, or Command+U on Mac OS X. At this point,
you will be asked to either select a stored connection or enter
the details for a new connection. After a connection has been made
to the server, a new tab called SQL Editor
(schema) is displayed.
The SQL Editor user interface has these main elements:
SQL Query Panel
Main Tabsheets (Overview, Output, History, Snippets, Results)
Auto-completion (in the Main Menu)
The following sections describe each of these elements.