<?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 SQL Inner Join with and without &amp;quot;Inner Join&amp;quot; phrase? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/SQL-Inner-Join-with-and-without-quot-Inner-Join-quot-phrase/m-p/116325#M32085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Courier New;"&gt;Hi SAS Forum,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I took the attahced two data sets from "SUGI 27 Paper 70-27 An Introduction to SAS PROC SQL by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harrington, T. J. (Acknowledged thankfully).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I first ran the proc SQL inner join with "inner join" phrase.&lt;/LI&gt;&lt;LI&gt;Then ran without "inner join" phrase.&lt;/LI&gt;&lt;LI&gt;Then compared the two output files using "proc compare".&lt;/LI&gt;&lt;LI&gt;Results show both produced identical results.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;For the given small two data sets, both appraoches produced identical results with "inner join" phrase or without it.&lt;/P&gt;&lt;P&gt;Can I however generalize this conclusion for other situaitions invovling large data sets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mirisage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2013 15:16:36 GMT</pubDate>
    <dc:creator>Mirisage</dc:creator>
    <dc:date>2013-08-20T15:16:36Z</dc:date>
    <item>
      <title>SQL Inner Join with and without "Inner Join" phrase?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-Inner-Join-with-and-without-quot-Inner-Join-quot-phrase/m-p/116325#M32085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #008000; font-size: 10pt; font-family: Courier New;"&gt;Hi SAS Forum,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I took the attahced two data sets from "SUGI 27 Paper 70-27 An Introduction to SAS PROC SQL by&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Harrington, T. J. (Acknowledged thankfully).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I first ran the proc SQL inner join with "inner join" phrase.&lt;/LI&gt;&lt;LI&gt;Then ran without "inner join" phrase.&lt;/LI&gt;&lt;LI&gt;Then compared the two output files using "proc compare".&lt;/LI&gt;&lt;LI&gt;Results show both produced identical results.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;P&gt;For the given small two data sets, both appraoches produced identical results with "inner join" phrase or without it.&lt;/P&gt;&lt;P&gt;Can I however generalize this conclusion for other situaitions invovling large data sets?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mirisage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 15:16:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-Inner-Join-with-and-without-quot-Inner-Join-quot-phrase/m-p/116325#M32085</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2013-08-20T15:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Inner Join with and without "Inner Join" phrase?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-Inner-Join-with-and-without-quot-Inner-Join-quot-phrase/m-p/116326#M32086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; My understanding was that the&amp;nbsp; difference between using the inner join phrase and other methodology what that of efficiency, not output. I think it is that the inner join phrase uses a more elegant method than just a "where a.id=b.id" subsetting clause, as it does not simply construct a cartesian product and weed out all of the irrelevant matches. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 15:20:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-Inner-Join-with-and-without-quot-Inner-Join-quot-phrase/m-p/116326#M32086</guid>
      <dc:creator>Murray_Court</dc:creator>
      <dc:date>2013-08-20T15:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Inner Join with and without "Inner Join" phrase?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-Inner-Join-with-and-without-quot-Inner-Join-quot-phrase/m-p/116327#M32087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The constructs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select ... from A, B where A.var=B.var&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;select ... from A inner join B on A.var=B.var&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are perfectly equivalent. However, in the second case you can replace the word &lt;STRONG&gt;inner&lt;/STRONG&gt; by&lt;STRONG&gt; left&lt;/STRONG&gt; or &lt;STRONG&gt;right&lt;/STRONG&gt;, and by &lt;STRONG&gt;cross&lt;/STRONG&gt; or &lt;STRONG&gt;natural&lt;/STRONG&gt; if you also remove the &lt;STRONG&gt;on&lt;/STRONG&gt; clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2013 16:22:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-Inner-Join-with-and-without-quot-Inner-Join-quot-phrase/m-p/116327#M32087</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2013-08-20T16:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Inner Join with and without "Inner Join" phrase?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/SQL-Inner-Join-with-and-without-quot-Inner-Join-quot-phrase/m-p/116328#M32088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Murray_Court and PGStats,&lt;/P&gt;&lt;P&gt;Many thanks to both of you for this help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mirisage&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2013 01:49:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/SQL-Inner-Join-with-and-without-quot-Inner-Join-quot-phrase/m-p/116328#M32088</guid>
      <dc:creator>Mirisage</dc:creator>
      <dc:date>2013-08-22T01:49:14Z</dc:date>
    </item>
  </channel>
</rss>

