<?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 Inner Join Merge in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Inner-Join-Merge/m-p/725309#M225259</link>
    <description>&lt;OL&gt;&lt;LI&gt;Using PROC SQL, perform an inner join to merge Audit Fees 2 and Firm Data.&amp;nbsp; Merge observatiosn where COMPANY_FKEY equals CIK and observations have the same fiscal year (FYEAR).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So far I have: but I'm not sure how to also make it ensure they have the same FYEAR? Any advice?&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table Firm_Audit as&lt;BR /&gt;select *&lt;BR /&gt;from audit_fees_4, firm_data&lt;BR /&gt;where audit_fees_4.company_fkey=firm_data.CIK&lt;BR /&gt;quit;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Mar 2021 00:31:17 GMT</pubDate>
    <dc:creator>krg1140</dc:creator>
    <dc:date>2021-03-11T00:31:17Z</dc:date>
    <item>
      <title>Inner Join Merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Inner-Join-Merge/m-p/725309#M225259</link>
      <description>&lt;OL&gt;&lt;LI&gt;Using PROC SQL, perform an inner join to merge Audit Fees 2 and Firm Data.&amp;nbsp; Merge observatiosn where COMPANY_FKEY equals CIK and observations have the same fiscal year (FYEAR).&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;So far I have: but I'm not sure how to also make it ensure they have the same FYEAR? Any advice?&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table Firm_Audit as&lt;BR /&gt;select *&lt;BR /&gt;from audit_fees_4, firm_data&lt;BR /&gt;where audit_fees_4.company_fkey=firm_data.CIK&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 00:31:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Inner-Join-Merge/m-p/725309#M225259</guid>
      <dc:creator>krg1140</dc:creator>
      <dc:date>2021-03-11T00:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Inner Join Merge</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Inner-Join-Merge/m-p/725315#M225263</link>
      <description>&lt;P&gt;1. Use the appropriate icon to paste code&lt;/P&gt;
&lt;P&gt;2. What about&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;where audit_fees_4.company_fkey=firm_data.CIK and audit_fees_4.FYEAR=firm_data.FYEAR&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Mar 2021 01:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Inner-Join-Merge/m-p/725315#M225263</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-03-11T01:22:24Z</dc:date>
    </item>
  </channel>
</rss>

