<?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: join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852742#M360922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/29/ca0b40c6c01961e10000000a155106/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/29/ca0b40c6c01961e10000000a155106/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Feb 2007 13:05:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-04T13:05:02Z</dc:date>
    <item>
      <title>join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852740#M360920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;difference between inner join and outer join&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 11:14:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852740#M360920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-04T11:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852741#M360921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ec77446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ec77446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kathirvel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 11:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852741#M360921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-04T11:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852742#M360922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/29/ca0b40c6c01961e10000000a155106/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/29/ca0b40c6c01961e10000000a155106/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;&lt;P&gt;MRUTYUN^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 13:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852742#M360922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-04T13:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852743#M360923</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;&amp;lt;b&amp;gt;Inner join&amp;lt;/b&amp;gt; between table 1 and table 2 where column D sets the&lt;/P&gt;&lt;P&gt; join condition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Table 1                      Table 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   A    B    C    D             D    E    F    G    H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   a1   b1   c1   1             1    e1   f1   g1   h1&lt;/P&gt;&lt;P&gt;   a2   b2   c2   1             3    e2   f2   g2   h2&lt;/P&gt;&lt;P&gt;   a3   b3   c3   2             4    e3   f3   g3   h3&lt;/P&gt;&lt;P&gt;   a4   b4   c4   3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                     \        /&lt;/P&gt;&lt;P&gt;                      \      /&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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       A    B    C    D    D    E    F    G    H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       a1   b1   c1   1    1    e1   f1   g1   h1&lt;/P&gt;&lt;P&gt;       a2   b2   c2   1    1    e1   f1   g1   h1&lt;/P&gt;&lt;P&gt;       a4   b4   c4   3    3    e2   f2   g2   h2&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;Each comparison in the ON condition must contain a field&lt;/P&gt;&lt;P&gt; from the right-hand table.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Left outer join&amp;lt;/b&amp;gt; between table 1 and table 2 where column D sets&lt;/P&gt;&lt;P&gt;the join condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tabelle 1                    Tabelle 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  A    B    C    D             D    E    F    G    H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  a1   b1   c1   1             1    e1   f1   g1   h1&lt;/P&gt;&lt;P&gt;  a2   b2   c2   1             3    e2   f2   g2   h2&lt;/P&gt;&lt;P&gt;  a3   b3   c3   2             4    e3   f3   g3   h3&lt;/P&gt;&lt;P&gt;  a4   b4   c4   3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    \        /&lt;/P&gt;&lt;P&gt;                     \      /&lt;/P&gt;&lt;P&gt;                      \    /&lt;/P&gt;&lt;P&gt;                       \  /&lt;/P&gt;&lt;P&gt;                        \/&lt;/P&gt;&lt;P&gt;    Left Outer Join&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      A    B    C    D    D    E    F    G    H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      a1   b1   c1   1    1    e1   f1   g1   h1&lt;/P&gt;&lt;P&gt;      a2   b2   c2   1    1    e1   f1   g1   h1&lt;/P&gt;&lt;P&gt;      a3   b3   c3   2   NULL NULL NULL NULL NULL&lt;/P&gt;&lt;P&gt;      a4   b4   c4   3    3    e2   f2   g2   h2&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Comparisons in the WHERE condition may not contain fields&lt;/P&gt;&lt;P&gt;from the right-hand table&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 05:21:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852743#M360923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-05T05:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852744#M360924</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;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;P&gt;select e&lt;SUB&gt;empno e&lt;/SUB&gt;name &lt;/P&gt;&lt;P&gt;s~sal &lt;/P&gt;&lt;P&gt;into table int_table&lt;/P&gt;&lt;P&gt;from emp as e&lt;/P&gt;&lt;P&gt;inner join sal&lt;/P&gt;&lt;P&gt;on &lt;/P&gt;&lt;P&gt;e&lt;SUB&gt;empno = s&lt;/SUB&gt;empno.&lt;/P&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;P&gt;select e&lt;SUB&gt;empno e&lt;/SUB&gt;name &lt;/P&gt;&lt;P&gt;s~sal into table  int_table&lt;/P&gt;&lt;P&gt;from emp as e&lt;/P&gt;&lt;P&gt;LEFT OUTER JOIN sal&lt;/P&gt;&lt;P&gt;on &lt;/P&gt;&lt;P&gt;e&lt;SUB&gt;empno = s&lt;/SUB&gt;empno.&lt;/P&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;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2007 05:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join/m-p/1852744#M360924</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-02-05T05:23:56Z</dc:date>
    </item>
  </channel>
</rss>

