<?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>Question Re: LEFT outer join - pains in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389806#M4636612</link>
    <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;FOR (1) ...&lt;/P&gt;&lt;P&gt;Select TABLE1.* ,TABLE2.* &lt;/P&gt;&lt;P&gt;FROM TABLE1&lt;/P&gt;&lt;P&gt;LEFT OUTER JOIN TABLE2 ON TABLE2.FIELD1 = TABLE1.FIELD1 &lt;/P&gt;&lt;P&gt;AND TABLE2.FIELD2 = TABLE1.FIELD2&lt;/P&gt;&lt;P&gt;FOR (2) ...&lt;/P&gt;&lt;P&gt;Select TABLE1.* ,TABLE2.*, TABLE3.*&lt;/P&gt;&lt;P&gt;FROM TABLE1&lt;/P&gt;&lt;P&gt;LEFT OUTER JOIN TABLE2 ON TABLE2.FIELD1 = TABLE1.FIELD1 &lt;/P&gt;&lt;P&gt;LEFT OUTER JOIN TABLE3 ON TABLE3.FIELD1 = TABLE1.FIELD1&lt;/P&gt;&lt;P&gt;AND TABLE3.FIELD2 = TABLE1.FIELD2&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2021 07:11:50 GMT</pubDate>
    <dc:creator>former_member681242</dc:creator>
    <dc:date>2021-04-21T07:11:50Z</dc:date>
    <item>
      <title>LEFT outer join - pains</title>
      <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaq-p/12389803</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;Can some one tell me how to do a left outer join in Crystal for two (2) different scenarios:&lt;/P&gt;
  &lt;P&gt;(1.) Two tables and two fields in both tables&lt;/P&gt;
  &lt;P&gt;(2.) Three tables one field from table A, one field from table B, and two fields from table C. The Left is table A and B.&lt;/P&gt;
  &lt;P&gt;I knowhow to do a Left outer join with two tables and one field.&lt;/P&gt;
  &lt;P&gt;The reason for the Left outer join is, I want the Left portion of data to be present even if there is not a match.&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 20:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaq-p/12389803</guid>
      <dc:creator>former_member731159</dc:creator>
      <dc:date>2021-04-20T20:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT outer join - pains</title>
      <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389804#M4636610</link>
      <description>&lt;P&gt;You can't join from one field to two fields - it won't work.  What do the two different fields represent?&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 21:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389804#M4636610</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2021-04-20T21:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT outer join - pains</title>
      <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389805#M4636611</link>
      <description>&lt;P&gt;Sorry about that, I wasn’t very clear.&lt;/P&gt;&lt;P&gt;If I have table A with a field called Name,&lt;/P&gt;&lt;P&gt;Table B with a field named SSN&lt;/P&gt;&lt;P&gt;And Table C with two fields - one named Name&lt;/P&gt;&lt;P&gt;And SSN.  How can I do a join that allows A and B to join to C.&lt;/P&gt;&lt;P&gt;Can I just to a Left outer from A to C&lt;/P&gt;&lt;P&gt;And a Left outer from B to C.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;also, how can I do an left outer join with two tables and two fields.  Example:&lt;/P&gt;&lt;P&gt;Select * from A &lt;/P&gt;&lt;P&gt;Left out join (select * from C)  u&lt;/P&gt;&lt;P&gt;ON ( t.first_name = u.first_name and&lt;/P&gt;&lt;P&gt;t.Las_name = u.Last_ name)&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 22:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389805#M4636611</guid>
      <dc:creator>former_member731159</dc:creator>
      <dc:date>2021-04-20T22:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT outer join - pains</title>
      <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389806#M4636612</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;FOR (1) ...&lt;/P&gt;&lt;P&gt;Select TABLE1.* ,TABLE2.* &lt;/P&gt;&lt;P&gt;FROM TABLE1&lt;/P&gt;&lt;P&gt;LEFT OUTER JOIN TABLE2 ON TABLE2.FIELD1 = TABLE1.FIELD1 &lt;/P&gt;&lt;P&gt;AND TABLE2.FIELD2 = TABLE1.FIELD2&lt;/P&gt;&lt;P&gt;FOR (2) ...&lt;/P&gt;&lt;P&gt;Select TABLE1.* ,TABLE2.*, TABLE3.*&lt;/P&gt;&lt;P&gt;FROM TABLE1&lt;/P&gt;&lt;P&gt;LEFT OUTER JOIN TABLE2 ON TABLE2.FIELD1 = TABLE1.FIELD1 &lt;/P&gt;&lt;P&gt;LEFT OUTER JOIN TABLE3 ON TABLE3.FIELD1 = TABLE1.FIELD1&lt;/P&gt;&lt;P&gt;AND TABLE3.FIELD2 = TABLE1.FIELD2&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 07:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389806#M4636612</guid>
      <dc:creator>former_member681242</dc:creator>
      <dc:date>2021-04-21T07:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT outer join - pains</title>
      <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389807#M4636613</link>
      <description>&lt;P&gt;You would Left Outer from A to C and Right Outer from C to B so that the links are "chained".  Unfortunately, since there is no way to link from A to B, if there is no data in C, you'll only get data from A and B will be blank.&lt;/P&gt;&lt;P&gt;The query you show would look like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Select * from A
Left join C as u
ON A.first_name = u.first_name 
  and A.Las_name = u.Last_ name&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You don't need to use "Select * from..." for the table you're joining to - just join directly to the table.&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 15:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389807#M4636613</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2021-04-21T15:30:09Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT outer join - pains</title>
      <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389808#M4636614</link>
      <description>&lt;P&gt;How would I do this in Crystal.  &lt;/P&gt;&lt;P&gt;I know how to do it with native SQL, but how would I graphically do this so that crystal would use two fields to perform a Left outer join.&lt;/P&gt;&lt;P&gt;Currently, when I link two tables in Crystal, I can only do a Left Outer Join with one field.&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 17:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389808#M4636614</guid>
      <dc:creator>former_member731159</dc:creator>
      <dc:date>2021-04-21T17:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT outer join - pains</title>
      <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389809#M4636615</link>
      <description>&lt;P&gt;As I said in my previous answer, link A &amp;gt;&amp;gt; C &amp;gt;&amp;gt; B.  This means delete the link you have from B to C and then redraw it starting at C and drawing to B.  Then make the link from C to B a Right Outer join instead of Left Outer.&lt;/P&gt;&lt;P&gt;-Dell&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 18:51:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389809#M4636615</guid>
      <dc:creator>DellSC</dc:creator>
      <dc:date>2021-04-21T18:51:43Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT outer join - pains</title>
      <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389810#M4636616</link>
      <description>&lt;P&gt;Sounds good.&lt;/P&gt;&lt;P&gt;Thank you very much...&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 23:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389810#M4636616</guid>
      <dc:creator>former_member731159</dc:creator>
      <dc:date>2021-04-21T23:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: LEFT outer join - pains</title>
      <link>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389811#M4636617</link>
      <description>&lt;P&gt;Dell,&lt;/P&gt;&lt;P&gt;You answered my big question without even knowing it.  I wasn't aware that all you had to do is add another link when performing a join for two fields . Example:  ON (t.field1 = u.field1 AND t.field2 = u.field2).  I looked back over your answers and it became clear that I could do this.&lt;/P&gt;&lt;P&gt;Thaaaaaaaaaaaaaaaaaaaaank you, for your help...&lt;/P&gt;</description>
      <pubDate>Thu, 22 Apr 2021 15:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/left-outer-join-pains/qaa-p/12389811#M4636617</guid>
      <dc:creator>former_member731159</dc:creator>
      <dc:date>2021-04-22T15:47:52Z</dc:date>
    </item>
  </channel>
</rss>

