<?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 left join with more tables in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/left-join-with-more-tables/m-p/202697#M50593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;hello&lt;/P&gt;&lt;P&gt;i have 4 tables and i need to join them. The 1st table has about 1M records and the other 3 about 20M each but i only need all the records from the 1st with all the coresponding ones&amp;nbsp; from the&amp;nbsp; other 3 tables which means left&amp;nbsp; join on the 1st table would do the job,right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do i do left join with more then&amp;nbsp;&amp;nbsp; 2&amp;nbsp; tables? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jul 2015 19:18:02 GMT</pubDate>
    <dc:creator>Tal</dc:creator>
    <dc:date>2015-07-14T19:18:02Z</dc:date>
    <item>
      <title>left join with more tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/left-join-with-more-tables/m-p/202697#M50593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;hello&lt;/P&gt;&lt;P&gt;i have 4 tables and i need to join them. The 1st table has about 1M records and the other 3 about 20M each but i only need all the records from the 1st with all the coresponding ones&amp;nbsp; from the&amp;nbsp; other 3 tables which means left&amp;nbsp; join on the 1st table would do the job,right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how do i do left join with more then&amp;nbsp;&amp;nbsp; 2&amp;nbsp; tables? &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 19:18:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/left-join-with-more-tables/m-p/202697#M50593</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2015-07-14T19:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: left join with more tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/left-join-with-more-tables/m-p/202698#M50594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Here is a link to the question asked for MySQL &lt;A class="active_link" href="http://stackoverflow.com/questions/7980052/how-to-do-left-join-with-more-than-2-tables"&gt;http://stackoverflow.com/questions/7980052/how-to-do-left-join-with-more-than-2-tables&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the proc sql syntax should be very similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jul 2015 22:23:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/left-join-with-more-tables/m-p/202698#M50594</guid>
      <dc:creator>morgalr</dc:creator>
      <dc:date>2015-07-14T22:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: left join with more tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/left-join-with-more-tables/m-p/202699#M50595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The basic structure is like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select a.*, b.x, c.y, d.z&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;from a left join &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; b on a.id=b.id left join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; c on a.id=c.id left join&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; d on a.id=d.id&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep referring to the first table for the joins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 01:32:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/left-join-with-more-tables/m-p/202699#M50595</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-07-15T01:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: left join with more tables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/left-join-with-more-tables/m-p/202700#M50596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;thanks. This is really siimple&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jul 2015 19:54:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/left-join-with-more-tables/m-p/202700#M50596</guid>
      <dc:creator>Tal</dc:creator>
      <dc:date>2015-07-15T19:54:01Z</dc:date>
    </item>
  </channel>
</rss>

