<?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: LEFT AND RIGHT JOIN?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165599#M121674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe somebody can explain the logical differemces between the join type. I.E. I never heard of RIGHT or CROSS joins. Maybe I'm wrong but I think LEFT, INNER and LEFT INNER are just the same joins:&lt;/P&gt;&lt;P&gt;Both joined tables must have at least one record for the join condition.&lt;/P&gt;&lt;P&gt;LEFT OUTER or OUTER joins will fetch data if at least one of the two joined tables have a record for the join condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More suggestions welcome!&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;Clemens Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 21 Jan 2006 21:14:00 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2006-01-21T21:14:00Z</dc:date>
    <item>
      <title>LEFT AND RIGHT JOIN??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165594#M121669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;how can I do left and right join(CROSS JOIN)?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2006 14:25:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165594#M121669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-21T14:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT AND RIGHT JOIN??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165595#M121670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;to my knowledge, abap opensql supports only&lt;/P&gt;&lt;P&gt;'inner join' and 'left outer join'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dont forget to reward points &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt; ,&lt;/P&gt;&lt;P&gt;and if you have something to share, please do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Aditya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2006 14:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165595#M121670</guid>
      <dc:creator>former_member184495</dc:creator>
      <dc:date>2006-01-21T14:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT AND RIGHT JOIN??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165596#M121671</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;Only 1)Inner join 2) right join and 3) left join exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.w3schools.com/sql/sql_join.asp" target="test_blank"&gt;http://www.w3schools.com/sql/sql_join.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.query-ohne-namen.de/Forum/viewtopic.php?p=21" target="test_blank"&gt;http://www.query-ohne-namen.de/Forum/viewtopic.php?p=21&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2006 14:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165596#M121671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-01-21T14:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT AND RIGHT JOIN??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165597#M121672</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;I agree with Aditya.. here is an example SELECT..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
   select a~objid a~sobid a~endda
           b~stext
           c~chara
              into table t_quals
              from ( hrp1001                 as a
                    left outer join hrp1000 as b on a~objid  = b~objid
                                      and          a~otype   = b~otype )
                        inner join hrpad31 as c on a~adatanr = c~adatanr
             where a~otype  = c_type_q
               and a~plvar  = c_plvar
               and a~rsign  = c_rsign_b
               and a~relat  = c_relat_032
               and a~istat  = c_istat
               and a~endda &amp;gt;= w_begda
               and a~endda &amp;lt;= w_endda.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2006 14:59:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165597#M121672</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-01-21T14:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT AND RIGHT JOIN??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165598#M121673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Huseyin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at demo programs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DEMO_SELECT_INNER_JOIN      &lt;/P&gt;&lt;P&gt;DEMO_SELECT_LEFT_OUTER_JOIN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lakshman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2006 15:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165598#M121673</guid>
      <dc:creator>Lakshmant1</dc:creator>
      <dc:date>2006-01-21T15:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT AND RIGHT JOIN??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165599#M121674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;maybe somebody can explain the logical differemces between the join type. I.E. I never heard of RIGHT or CROSS joins. Maybe I'm wrong but I think LEFT, INNER and LEFT INNER are just the same joins:&lt;/P&gt;&lt;P&gt;Both joined tables must have at least one record for the join condition.&lt;/P&gt;&lt;P&gt;LEFT OUTER or OUTER joins will fetch data if at least one of the two joined tables have a record for the join condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More suggestions welcome!&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;Clemens Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Jan 2006 21:14:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/left-and-right-join/m-p/1165599#M121674</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2006-01-21T21:14:00Z</dc:date>
    </item>
  </channel>
</rss>

