Egenskaber for Join

Hvis du dobbeltklikker en forbindelse mellem to linkede felter i forespørgselsdesignet, eller hvis du vælger Indsæt - Ny Relation, vises dialogen Egenskaber for Join. Disse egenskaber vil blive brugt i alle forespørgsler, der oprettes fremover.

For at tilgå denne kommando...

Åbn forespørgselsdesign og vælg Indsæt - Ny relation eller dobbeltklik på en forbindelseslinje mellem to tabeller.


Involverede tabeller

specificerer to forskellige tabeller som du vil tilslutte.

Involverede felter

Specificerer to datafelter, som vil blive samlet af en relation.

Indstillinger

Type

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

Inner (indre) join

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 (venstre) 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 (højre) 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 (fuld) 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.

Naturlig

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.