Contingut
Índex 🔎︎

# Barra Disseny de la consulta

En crear o editar una consulta SQL, utilitzeu les icones de la barra Disseny de la consulta per controlar la presentació de les dades.

Segons si heu creat la consulta o la vista a la pestanya Disseny o SQL, apareixeran les icones següents:

## Executa la consulta

Executa la consulta SQL i en mostra el resultat. La funció Executa la consulta no guarda la consulta.

Executa la consulta

## Neteja la consulta

Neteja la consulta i suprimeix totes les taules de la finestra de disseny.

Neteja la consulta

## Switch Design View On/Off

Mostra la vista de disseny o la vista SQL de la consulta.

Switch Design View On/Off

## Afig taules

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

Afig taules

## Funcions

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

Funcions

## Nom de la taula

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

Nom de la taula

## Àlies

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

Àlies

## Valors diferents

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.

Valors diferents

La icona següent es troba a la pestanya SQL:

## Executa l'orde SQL directament

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

Executa l'orde SQL directament