Query Design Bar

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:

Run Query

Runs the SQL query and displays the query result. The Run Query function does not save the query.

Icon

Run Query

Clear query

Clears the query and removes all tables from the design window.

Icon

Clear query

Switch Design View On/Off

Displays the design view or the SQL view of the query.

Icon

Switch Design View On/Off

Add Tables

Specifies the tables to be inserted into the design window. In the Add Tables dialog, select the tables you need for your current task.

Icon

Insert Tables

Functions

Displays the Function row in the lower part of the design view of the Query Design window.

Icon

Functions

Table Name

Displays the Table row in the lower part of the Query Design.

Icon

Table Name

Alias

Displays the Alias row in the lower part of the Query Design.

Icon

Alias

Distinct Values

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.

Icon

Distinct Values

The following icon is on the SQL tab page:

Run SQL command directly

In Native SQL mode you can enter SQL commands that are not interpreted by Collabora 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.

Icon

Run SQL command directly