Contenido
Índice 🔎︎

# Propiedades de unión

Si pulsa dos veces en una conexión entre dos campos enlazados en el diseño de consulta o si selecciona Insertar ▸ Relación nueva, aparece el diálogo Propiedades de unión. Estas propiedades se utilizarán en todas las consultas que se creen en el futuro.

Para acceder a esta orden…

Abra el diseño de consultas y seleccione Insertar ▸ Relación nueva o pulse dos veces en una línea de conexión entre dos tablas.

## Tablas involucradas

Specifies two different tables that you want to join.

## Campos involucrados

Especifica dos campos de datos que se unirán mediante una relación.

## Opciones

### Tipo

Especifica el tipo de la unión seleccionada. Ciertas bases de datos solamente admiten algunos de los distintos tipos posibles.

### Unión interior

In an inner join, the results table contains only those records for which the content of the linked fields is the same. In LibreOfficeDev SQL this type of link is created by a corresponding WHERE clause.

### Left Join

In a left join, the results table contains all records of the queried fields from the left table and only those records of the queried fields from the right table for which the content of the linked fields is the same. In LibreOfficeDev SQL this type of link corresponds to the LEFT OUTER JOIN command.

### Right Join

In a right join, the results table contains all records of the queried fields from the right table and only those records of the queried fields from the left table for which the content of the linked fields is the same. In LibreOfficeDev SQL this type of link corresponds to the RIGHT OUTER JOIN command.

### Full Join

In a full join, the results table contains all records of the queried fields from the left and right tables. In the SQL of LibreOfficeDev this type of link corresponds to the FULL OUTER JOIN command.

### Natural

In a natural join, the keyword NATURAL is inserted into the SQL statement that defines the relation. The relation joins all columns that have the same column name in both tables. The resulting joined table contains only one column for each pair of equally named columns.