<?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: merging three tables in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/merging-three-tables/m-p/849331#M335799</link>
    <description>&lt;P&gt;Sure, unless you have other logic in the data step this (almost) the same logic.&lt;/P&gt;
&lt;P&gt;But if it's existing code, why change (unless it's to be sent down to a database for processing)?&lt;/P&gt;</description>
    <pubDate>Tue, 13 Dec 2022 08:53:39 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2022-12-13T08:53:39Z</dc:date>
    <item>
      <title>merging three tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging-three-tables/m-p/849327#M335798</link>
      <description>&lt;PRE&gt;merge ACCT_NEW_ALL_MAC(IN=A) rate_MAC DEC_ACCT_MAC_OCA_SUM2;
by account_no
if a

Select * from  ACCT_NEW_ALL_MAC A 
left join rate_MAC B on A.account_no=B.account_no
left join DEC_ACCT_MAC_OCA_SUM2 C A.account_no=C.account_no&lt;/PRE&gt;
&lt;P&gt;Hi I am trying to write SAS merging three tables into SQL, please could you review for me and&amp;nbsp;let me know if it make sense?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 08:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging-three-tables/m-p/849327#M335798</guid>
      <dc:creator>HeatherNewton</dc:creator>
      <dc:date>2022-12-13T08:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: merging three tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging-three-tables/m-p/849331#M335799</link>
      <description>&lt;P&gt;Sure, unless you have other logic in the data step this (almost) the same logic.&lt;/P&gt;
&lt;P&gt;But if it's existing code, why change (unless it's to be sent down to a database for processing)?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 08:53:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging-three-tables/m-p/849331#M335799</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2022-12-13T08:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: merging three tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging-three-tables/m-p/849337#M335802</link>
      <description>&lt;P&gt;Hard to say without seeing your entire code, but looks right.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 09:06:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging-three-tables/m-p/849337#M335802</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-12-13T09:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: merging three tables</title>
      <link>https://communities.sas.com/t5/SAS-Programming/merging-three-tables/m-p/849363#M335811</link>
      <description>&lt;P&gt;How many variables are in common between the data sets other than the By variable(s)?&lt;/P&gt;
&lt;P&gt;If there are any then the result of the Merge is almost certainly going to be quit different than that SQL.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2022 10:45:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/merging-three-tables/m-p/849363#M335811</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-12-13T10:45:19Z</dc:date>
    </item>
  </channel>
</rss>

