<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: joins in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647395#M287907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For inner join the record should be there in both the tables for the ON condition...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For outer join the record in the second table need not be there for the ON condition..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sap documentation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to determine the result of a SELECT statement where the FROM clause contains a left outer join, the database system creates a temporary table containing the lines that meet the ON condition. The remaining fields from the left hand table (tabref1) are then added to this table, and their corresponding fields from the right hand table are filled with NULL values. The system then applies the WHERE condition to the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Nov 2006 05:08:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-27T05:08:41Z</dc:date>
    <item>
      <title>joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647393#M287905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Can any one explain me in detail what is the difference between inner join and outer join.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 05:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647393#M287905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T05:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647394#M287906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the difference here ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/67/7e4b3eaf72561ee10000000a114084/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/67/7e4b3eaf72561ee10000000a114084/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note - Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 05:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647394#M287906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T05:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647395#M287907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For inner join the record should be there in both the tables for the ON condition...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For outer join the record in the second table need not be there for the ON condition..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this sap documentation...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to determine the result of a SELECT statement where the FROM clause contains a left outer join, the database system creates a temporary table containing the lines that meet the ON condition. The remaining fields from the left hand table (tabref1) are then added to this table, and their corresponding fields from the right hand table are filled with NULL values. The system then applies the WHERE condition to the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 05:08:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647395#M287907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T05:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647396#M287908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If both table contains same key value,then only a record will be selected in inner join.But it is not like that for outer join.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 05:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647396#M287908</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-11-27T05:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647397#M287909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To keep it simple, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner join requires entry with the key in both tables.&lt;/P&gt;&lt;P&gt;Outer join displays entry even a record in found in right hand table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;Fld1 Fld2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;A    1&lt;/P&gt;&lt;P&gt;B    2&lt;/P&gt;&lt;P&gt;C    3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt;Fld1 Fld3&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;A    x&lt;/P&gt;&lt;P&gt;C    z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join - Output:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;Fld1 Fld2 Fld3&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;A     1      x&lt;/P&gt;&lt;P&gt;C     3      z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outer Join - Output:&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;Fld1 Fld2 Fld3&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;P&gt;A     1      x&lt;/P&gt;&lt;P&gt;B     2&lt;/P&gt;&lt;P&gt;C     3      z&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, inner join has no record for B since no record exists for the key in Table 2 and Outer Join displays the record but with blank value for FLD3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives you some idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eswar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 05:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647397#M287909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T05:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647398#M287910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is the difference between Inner join and Outer join in simple words.&lt;/P&gt;&lt;P&gt;This is an extraction from SAP help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join. With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view. With an outer join, records are also selected for which there is no entry in some of the tables used in the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set of hits determined by an inner join can therefore be a subset of the hits determined with an outer join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Database views implement an inner join. The database therefore only provides those records for which there is an entry in all the tables used in the view. Help views and maintenance views, however, implement an outer join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 05:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647398#M287910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T05:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647399#M287911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table emp &lt;/P&gt;&lt;P&gt;empno name&lt;/P&gt;&lt;P&gt;a sasi&lt;/P&gt;&lt;P&gt;b xxx &lt;/P&gt;&lt;P&gt;c yyy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table sal&lt;/P&gt;&lt;P&gt;empno salary&lt;/P&gt;&lt;P&gt;a 1000&lt;/P&gt;&lt;P&gt;b 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner join&lt;/P&gt;&lt;P&gt;****************&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select e~empno e~name 
s~sal 
into table int_table
from emp as e
inner join sal
on 
e~empno = s~empno.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you made inner join between table a and b by emp no &lt;/P&gt;&lt;P&gt;the selection retrives only if the condition satisfy the output will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a sasi 1000&lt;/P&gt;&lt;P&gt;b xxx 2000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outer join&lt;/P&gt;&lt;P&gt;*************************&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select e~empno e~name 
s~sal into table  int_table
from emp as e
LEFT OUTER JOIN sal
on 
e~empno = s~empno.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you made outer join (left /right ) the left table kept as it is the &lt;/P&gt;&lt;P&gt;if the condition satisfy the right table entries will fetch else leave it blank&lt;/P&gt;&lt;P&gt;the output will be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a sasi a 1000&lt;/P&gt;&lt;P&gt;b xxx b 2000&lt;/P&gt;&lt;P&gt;c yyy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;hope this helped&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 05:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647399#M287911</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-11-27T05:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647400#M287912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I think this link may help u&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://database.ittoolbox.com/documents/popular-q-and-a/inner-and-outer-join-sql-statements-2108" target="test_blank"&gt;http://database.ittoolbox.com/documents/popular-q-and-a/inner-and-outer-join-sql-statements-2108&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 06:32:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647400#M287912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T06:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647401#M287913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following example , code snippet and the result will give u a clear idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL: Joins&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A join is used to combine rows from multiple tables. A join is performed whenever two or more tables is listed in the FROM clause of an SQL statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are different kinds of joins. Let's take a look at a few examples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inner Join (simple join)&lt;/P&gt;&lt;P&gt;Chances are, you've already written an SQL statement that uses an inner join. It is is the most common type of join. Inner joins return all rows from multiple tables where the join condition is met.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT suppliers.supplier_id, suppliers.supplier_name, orders.order_date&lt;/P&gt;&lt;P&gt;FROM suppliers, orders&lt;/P&gt;&lt;P&gt;WHERE suppliers.supplier_id = orders.supplier_id;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SQL statement would return all rows from the suppliers and orders tables where there is a matching supplier_id value in both the suppliers and orders tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's look at some data to explain how inner joins work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a table called suppliers with two fields (supplier_id and supplier_ name).&lt;/P&gt;&lt;P&gt;It contains the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;supplier_id supplier_name &lt;/P&gt;&lt;P&gt;10000 IBM &lt;/P&gt;&lt;P&gt;10001 Hewlett Packard &lt;/P&gt;&lt;P&gt;10002 Microsoft &lt;/P&gt;&lt;P&gt;10003 Nvidia &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have another table called orders with three fields (order_id, supplier_id, and order_date).&lt;/P&gt;&lt;P&gt;It contains the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order_id supplier_id order_date &lt;/P&gt;&lt;P&gt;500125 10000 2003/05/12 &lt;/P&gt;&lt;P&gt;500126 10001 2003/05/13 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we ran the SQL statement below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT suppliers.supplier_id, suppliers.supplier_name, orders.order_date&lt;/P&gt;&lt;P&gt;FROM suppliers, orders&lt;/P&gt;&lt;P&gt;WHERE suppliers.supplier_id = orders.supplier_id;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our result set would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;supplier_id name order_date &lt;/P&gt;&lt;P&gt;10000 IBM 2003/05/12 &lt;/P&gt;&lt;P&gt;10001 Hewlett Packard 2003/05/13 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rows for Microsoft and Nvidia from the supplier table would be omitted, since the supplier_id's 10002 and 10003 do not exist in both tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outer Join&lt;/P&gt;&lt;P&gt;Another type of join is called an outer join. This type of join returns all rows from one table and only those rows from a secondary table where the joined fields are equal (join condition is met).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select suppliers.supplier_id, suppliers.supplier_name, orders.order_date&lt;/P&gt;&lt;P&gt;from suppliers, orders&lt;/P&gt;&lt;P&gt;where suppliers.supplier_id = orders.supplier_id(+);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This SQL statement would return all rows from the suppliers table and only those rows from the orders table where the joined fields are equal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN __jive_emoticon_name="plus"&gt;&lt;/SPAN&gt; after the orders.supplier_id field indicates that, if a supplier_id value in the suppliers table does not exist in the orders table, all fields in the orders table will display as &amp;lt;null&amp;gt; in the result set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above SQL statement could also be written as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select suppliers.supplier_id, suppliers.supplier_name, orders.order_date&lt;/P&gt;&lt;P&gt;from suppliers, orders&lt;/P&gt;&lt;P&gt;where orders.supplier_id(+) = suppliers.supplier_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's look at some data to explain how outer joins work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a table called suppliers with two fields (supplier_id and name).&lt;/P&gt;&lt;P&gt;It contains the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;supplier_id supplier_name &lt;/P&gt;&lt;P&gt;10000 IBM &lt;/P&gt;&lt;P&gt;10001 Hewlett Packard &lt;/P&gt;&lt;P&gt;10002 Microsoft &lt;/P&gt;&lt;P&gt;10003 Nvidia &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a second table called orders with three fields (order_id, supplier_id, and order_date).&lt;/P&gt;&lt;P&gt;It contains the following data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;order_id supplier_id order_date &lt;/P&gt;&lt;P&gt;500125 10000 2003/05/12 &lt;/P&gt;&lt;P&gt;500126 10001 2003/05/13 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we ran the SQL statement below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select suppliers.supplier_id, suppliers.supplier_name, orders.order_date&lt;/P&gt;&lt;P&gt;from suppliers, orders&lt;/P&gt;&lt;P&gt;where suppliers.supplier_id = orders.supplier_id(+);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our result set would look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;supplier_id supplier_name order_date &lt;/P&gt;&lt;P&gt;10000 IBM 2003/05/12 &lt;/P&gt;&lt;P&gt;10001 Hewlett Packard 2003/05/13 &lt;/P&gt;&lt;P&gt;10002 Microsoft &amp;lt;null&amp;gt; &lt;/P&gt;&lt;P&gt;10003 Nvidia &amp;lt;null&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Nov 2006 08:26:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647401#M287913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-27T08:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647402#M287914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join.In a join, at least two of the tables must have the same column.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1) With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)With an outer join, records are also selected for which there is no entry in some of the tables used in the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)Database views implement an inner join. The database therefore only provides those records for which there is an entry in all the tables used in the view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Help views and maintenance views, however, implement an outer join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunasree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Dec 2006 11:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647402#M287914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-14T11:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: joins</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647403#M287915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Records should be there in both the tables for the ON condition, in INNER JOIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Records in the second table need not be there for the ON condition,in OUTER JOIN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shehryar Dahar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Dec 2006 10:43:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joins/m-p/1647403#M287915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-15T10:43:39Z</dc:date>
    </item>
  </channel>
</rss>

