<?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: A right join returned more rows that were joined than actually read from the right table in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/584128#M17862</link>
    <description>Yes, the left table does contain some records that match the same record in the right table.</description>
    <pubDate>Tue, 27 Aug 2019 06:07:54 GMT</pubDate>
    <dc:creator>george7899</dc:creator>
    <dc:date>2019-08-27T06:07:54Z</dc:date>
    <item>
      <title>A right join returned more rows that were joined than actually read from the right table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/583712#M17855</link>
      <description>&lt;P&gt;Both the left and right tables have been standardized. There are 63 rows in the left table, and 31 rows in the right one.&lt;/P&gt;&lt;P&gt;A Data Join node (right join) was applied successfully. But the log shows there were 33 rows joined. Does it make sense to have 33 rows joined instead of 31?&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2019 21:33:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/583712#M17855</guid>
      <dc:creator>george7899</dc:creator>
      <dc:date>2019-08-24T21:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: A right join returned more rows that were joined than actually read from the right table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/583714#M17856</link>
      <description>&lt;P&gt;Things to consider ... perhaps ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The left table contains a few records that match the same record in the right table&lt;/LI&gt;
&lt;LI&gt;The joining provisions are not specific enough, so that the same record in the left table matches multiple records in the right table.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;It's almost certainly a result of what's in the data, combined with the joining criteria.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Aug 2019 21:41:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/583714#M17856</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-08-24T21:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: A right join returned more rows that were joined than actually read from the right table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/583715#M17857</link>
      <description>&lt;P&gt;A test to understand&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data left;
do key_l=1 to 61;
 if key_l=31 then do _n_=1 to 3;
 output;
 end;
 else output;
end;
run;

data right;
 do key_r=1 to 31;
 output;
 end;
run;

proc sql;
create table w as
select *
from left  right join right 
on key_l=key_r;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 24 Aug 2019 21:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/583715#M17857</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-08-24T21:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: A right join returned more rows that were joined than actually read from the right table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/584128#M17862</link>
      <description>Yes, the left table does contain some records that match the same record in the right table.</description>
      <pubDate>Tue, 27 Aug 2019 06:07:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/584128#M17862</guid>
      <dc:creator>george7899</dc:creator>
      <dc:date>2019-08-27T06:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: A right join returned more rows that were joined than actually read from the right table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/584129#M17863</link>
      <description>Thanks for your codes. very helpful!</description>
      <pubDate>Tue, 27 Aug 2019 06:09:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/A-right-join-returned-more-rows-that-were-joined-than-actually/m-p/584129#M17863</guid>
      <dc:creator>george7899</dc:creator>
      <dc:date>2019-08-27T06:09:06Z</dc:date>
    </item>
  </channel>
</rss>

