Propriedades do join

Ao clicar duas vezes em uma conexão entre dois campos vinculados no editor de consulta ou ao escolher Inserir - Nova relação, a caixa de diálogo Propriedades da associação aparecerá. Essas propriedades serão utilizadas em todas as consultas criadas no futuro.

Para acessar este comando...

Abra a janela de edição de consulta e escolha Inserir - Nova relação, ou dê um clique duplo na linha de conexão entre duas tabelas.


Tabelas utilizadas

Especifica duas tabelas que você deseja associar.

Campos utilizados

Especifica dois campos de dados que estarão unidos por uma relação.

Opções

Tipo

Specifies the join type of the selected join. Some databases support only a subset of the various possible types.

Associação Interna

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.

Associação à Esquerda

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.

Associação à Direita

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.

Associação Integral

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 in 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.