When creating or editing an SQL query, use the icons in the Query Design Bar to control the display of data.
Depending on whether you have created the query or view in the Design or SQL tab page, the following icons appear:
Runs the SQL query and displays the query result. The Run Query function does not save the query.
Run Query
Clears the query and removes all tables from the design window.
Clear query
Displays the design view or the SQL view of the query.
Switch Design View On/Off
Specifies the tables to be inserted into the design window. In the Add Tables dialogue box, select the tables you need for your current task.
Insert Tables
Displays the Function row in the lower part of the design view of the Query Design window.
Functions
Displays the Table row in the lower part of the Query Design.
Table Name
Displays the Alias row in the lower part of the Query Design.
Alias
Expands the created select statement of the SQL Query in the current column by the parameter DISTINCT. The consequence is that identical values occurring multiple times are listed only once.
Distinct Values
The following icon is on the SQL tab page:
In Native SQL mode you can enter SQL commands that are not interpreted by Office, but are instead passed directly to the data source. If you do not display these changes in the design view, you cannot change back to the design view.
Run SQL command directly