summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/sdatabase/02010101.xhp
diff options
context:
space:
mode:
Diffstat (limited to 'helpcontent2/source/text/sdatabase/02010101.xhp')
-rw-r--r--helpcontent2/source/text/sdatabase/02010101.xhp63
1 files changed, 63 insertions, 0 deletions
diff --git a/helpcontent2/source/text/sdatabase/02010101.xhp b/helpcontent2/source/text/sdatabase/02010101.xhp
new file mode 100644
index 000000000..95d875097
--- /dev/null
+++ b/helpcontent2/source/text/sdatabase/02010101.xhp
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+
+
+<meta>
+ <topic id="textsharedexplorerdatabase02010101xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Join Properties</title>
+ <filename>/text/sdatabase/02010101.xhp</filename>
+ </topic>
+ </meta>
+ <body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154015"><bookmark_value>links;relational databases (Base)</bookmark_value>
+ <bookmark_value>inner joins (Base)</bookmark_value>
+ <bookmark_value>joins in databases (Base)</bookmark_value>
+ <bookmark_value>left joins (Base)</bookmark_value>
+ <bookmark_value>right joins (Base)</bookmark_value>
+ <bookmark_value>full joins (Base)</bookmark_value>
+</bookmark><comment>mw deleted "join properties" and changed "link properties..." to "links;"</comment>
+<h1 id="hd_id3154015">Join Properties</h1>
+ <paragraph xml-lang="en-US" id="par_id3151205" role="paragraph">If you double-click a connection between two linked fields in the query design, or if you choose <emph>Insert - New Relation</emph>, the <emph>Join Properties</emph> dialog appears. These properties will be used in all queries created in the future.</paragraph>
+ <section id="howtoget">
+ <embed href="text/shared/00/00000450.xhp#Joins"/>
+ </section>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/joindialog/table1" id="bm_id3150749" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/joindialog/table2" id="bm_id3150752" localize="false"/>
+<h2 id="hd_id3155066">Tables involved</h2>
+ <paragraph xml-lang="en-US" id="par_id3153924" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/table2">Specifies two different tables that you want to join.</ahelp></paragraph>
+ <h2 id="hd_id3155766">Fields involved</h2>
+ <paragraph xml-lang="en-US" id="par_id3148994" role="paragraph"><ahelp hid=".">Specifies two data fields that will be joined by a relation.</ahelp></paragraph>
+ <h2 id="hd_id3159267">Options</h2>
+<bookmark xml-lang="en-US" branch="hid/dbaccess/ui/joindialog/type" id="bm_id3147321" localize="false"/>
+<h3 id="hd_id3147340">Type</h3>
+ <paragraph xml-lang="en-US" id="par_id3152482" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">Specifies the join type of the selected join.</ahelp> Some databases support only a subset of the various possible types.</paragraph>
+ <h3 id="hd_id3155334">Inner Join</h3>
+ <paragraph xml-lang="en-US" id="par_id3155936" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">In an inner join, the results table contains only those records for which the content of the linked fields is the same.</ahelp> In $[officename] SQL this type of link is created by a corresponding WHERE clause.</paragraph>
+ <h3 id="hd_id3156372">Left Join</h3>
+ <paragraph xml-lang="en-US" id="par_id3166450" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">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.</ahelp> In $[officename] SQL this type of link corresponds to the LEFT OUTER JOIN command.</paragraph>
+ <h3 id="hd_id3155607">Right Join</h3>
+ <paragraph xml-lang="en-US" id="par_id3150647" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">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.</ahelp> In $[officename] SQL this type of link corresponds to the RIGHT OUTER JOIN command.</paragraph>
+ <h3 id="hd_id3158215">Full Join</h3>
+ <paragraph xml-lang="en-US" id="par_id3163665" role="paragraph"><ahelp hid="dbaccess/ui/joindialog/type">In a full join, the results table contains all records of the queried fields from the left and right tables.</ahelp> In the SQL of $[officename] this type of link corresponds to the FULL OUTER JOIN command.</paragraph>
+<h3 id="hd_id0305200912031976">Natural</h3>
+ <paragraph xml-lang="en-US" id="par_id0305200912031977" role="paragraph"><ahelp hid=".">In a natural join, the keyword <literal>NATURAL</literal> 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.</ahelp></paragraph>
+ </body>
+</helpdocument>