<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Back to basics: outer joins</title>
	<atom:link href="http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<lastBuildDate>Tue, 24 Jan 2012 20:49:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Stevi Deter</title>
		<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/comment-page-1/#comment-52903</link>
		<dc:creator>Stevi Deter</dc:creator>
		<pubDate>Thu, 11 Dec 2008 17:42:09 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=240#comment-52903</guid>
		<description>&lt;p&gt;Thanks much for this. The example of correcting the syntax for error ORA-01719 was exactly what I needed!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks much for this. The example of correcting the syntax for error ORA-01719 was exactly what I needed!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: murugan</title>
		<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/comment-page-1/#comment-52004</link>
		<dc:creator>murugan</dc:creator>
		<pubDate>Wed, 27 Feb 2008 05:53:55 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=240#comment-52004</guid>
		<description>&lt;p&gt;very useful for your queries and suggestions...&lt;/p&gt;

&lt;p&gt;i&#039;m  experting a lot of from you.&lt;/p&gt;

&lt;p&gt;thanks and regards,
murugan&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>very useful for your queries and suggestions&#8230;</p>

<p>i&#8217;m  experting a lot of from you.</p>

<p>thanks and regards,
murugan</p>]]></content:encoded>
	</item>
	<item>
		<title>By: kevin basigner</title>
		<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/comment-page-1/#comment-50320</link>
		<dc:creator>kevin basigner</dc:creator>
		<pubDate>Tue, 06 Feb 2007 05:33:36 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=240#comment-50320</guid>
		<description>&lt;p&gt;See friends ,
there are 2 keywords &quot;LEFT&quot; and
&quot;RIGHT&quot;  despite that only one is sufficient.
This is because , the &quot;LEFT OUTER JOIN&quot; is supposed to be used by the Left handed people and vice versa.
So, don&#039;t think about it much , it is not a big issue.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>See friends ,
there are 2 keywords &#8220;LEFT&#8221; and
&#8220;RIGHT&#8221;  despite that only one is sufficient.
This is because , the &#8220;LEFT OUTER JOIN&#8221; is supposed to be used by the Left handed people and vice versa.
So, don&#8217;t think about it much , it is not a big issue.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: shankar</title>
		<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/comment-page-1/#comment-50319</link>
		<dc:creator>shankar</dc:creator>
		<pubDate>Tue, 06 Feb 2007 05:21:41 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=240#comment-50319</guid>
		<description>&lt;p&gt;Excellent  explanation with a very simple example ,everyone can understand easily.
Please send these types of articles based
on only Oracle PL/SQL by mail
Thanks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Excellent  explanation with a very simple example ,everyone can understand easily.
Please send these types of articles based
on only Oracle PL/SQL by mail
Thanks</p>]]></content:encoded>
	</item>
	<item>
		<title>By: peter</title>
		<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/comment-page-1/#comment-26083</link>
		<dc:creator>peter</dc:creator>
		<pubDate>Mon, 10 Jul 2006 09:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=240#comment-26083</guid>
		<description>&lt;p&gt;good&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>good</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/comment-page-1/#comment-4207</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Wed, 05 Apr 2006 19:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=240#comment-4207</guid>
		<description>&lt;p&gt;&lt;i&gt;Why not just â€œOUTER JOINâ€?&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;Yes, why not. If the OUTER JOIN implicitly means LEFT OUTER JOIN, that should work, making LEFT/RIGHT optional.&lt;/p&gt;

&lt;p&gt;&lt;i&gt;My guess is the committee argued over it&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;That is a plausible guess.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><i>Why not just â€œOUTER JOINâ€?</i></p>

<p>Yes, why not. If the OUTER JOIN implicitly means LEFT OUTER JOIN, that should work, making LEFT/RIGHT optional.</p>

<p><i>My guess is the committee argued over it</i></p>

<p>That is a plausible guess.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: William Robertson</title>
		<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/comment-page-1/#comment-4199</link>
		<dc:creator>William Robertson</dc:creator>
		<pubDate>Wed, 05 Apr 2006 15:51:46 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=240#comment-4199</guid>
		<description>&lt;p&gt;&lt;i&gt;&gt; I have no idea why both keywords are needed, maybe it just made sense that every right had a left and every left had a right.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;I can&#039;t see why they needed either of them. Why not just &quot;OUTER JOIN&quot;? My guess is the committee argued over it for a week and finally agreed to include everyone&#039;s suggestions just so they could get on with something else, like recursive subquery factoring or the MODEL clause.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><i>&gt; I have no idea why both keywords are needed, maybe it just made sense that every right had a left and every left had a right.</i></p>

<p>I can&#8217;t see why they needed either of them. Why not just &#8220;OUTER JOIN&#8221;? My guess is the committee argued over it for a week and finally agreed to include everyone&#8217;s suggestions just so they could get on with something else, like recursive subquery factoring or the MODEL clause.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/comment-page-1/#comment-3015</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Thu, 23 Mar 2006 04:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=240#comment-3015</guid>
		<description>&lt;p&gt;Yes, I agree that there is no need to have RIGHT &lt;b&gt;and&lt;/B&gt; LEFT, since:&lt;/p&gt;

&lt;pre&gt;
FROM customers LEFT OUTER JOIN orders
&lt;/pre&gt;

&lt;p&gt;is the same as:&lt;/p&gt;

&lt;pre&gt;
FROM orders RIGHT OUTER JOIN customers 
&lt;/pre&gt;

&lt;p&gt;You can always stick with LEFT (or RIGHT) and just switch table positions based on your requirement. I have no idea why both keywords are needed, maybe it just made sense that every right had a left and every left had a right.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yes, I agree that there is no need to have RIGHT <b>and</b> LEFT, since:</p>

<pre>
FROM customers LEFT OUTER JOIN orders
</pre>

<p>is the same as:</p>

<pre>
FROM orders RIGHT OUTER JOIN customers 
</pre>

<p>You can always stick with LEFT (or RIGHT) and just switch table positions based on your requirement. I have no idea why both keywords are needed, maybe it just made sense that every right had a left and every left had a right.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: William Robertson</title>
		<link>http://awads.net/wp/2006/03/22/back-to-basics-outer-joins/comment-page-1/#comment-2966</link>
		<dc:creator>William Robertson</dc:creator>
		<pubDate>Wed, 22 Mar 2006 23:45:06 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=240#comment-2966</guid>
		<description>&lt;p&gt;I must admit this &quot;left&quot;/&quot;right&quot; concept has never made any sense to me.&lt;/p&gt;

&lt;p&gt;Say you want to list customers and their orders, and you want to include customers who not have placed an order, so your query is an outer join driven from CUSTOMERS. Your FROM clause would intuitively (at least, to me) start with CUSTOMERS:&lt;/p&gt;

&lt;p&gt;FROM customers LEFT OUTER JOIN orders&lt;/p&gt;

&lt;p&gt;Surely it is ORDERS that is being joined? And it&#039;s on the right? And if you wanted the join the other way around wouldn&#039;t you just write&lt;/p&gt;

&lt;p&gt;FROM orders LEFT OUTER JOIN customers&lt;/p&gt;

&lt;p&gt;rather than writing it backwards and switching to &quot;RIGHT OUTER JOIN&quot; syntax? Why did they even need to invent two syntax options for exactly the same thing anyway? (I suspect this was a committee decision.)&lt;/p&gt;

&lt;p&gt;While I&#039;m at it, I would always begin any ORDERS predicate with a column name from ORDERS, e.g:&lt;/p&gt;

&lt;p&gt;FROM customers c
     LEFT OUTER JOIN orders o
     ON o.order_id = c.order_id&lt;/p&gt;

&lt;p&gt;(notice that &quot;o&quot; is now on the left) for the same reason that I would write&lt;/p&gt;

&lt;p&gt;WHERE ename = &#039;FORD&#039;&lt;/p&gt;

&lt;p&gt;and not&lt;/p&gt;

&lt;p&gt;WHERE &#039;FORD&#039; = ename&lt;/p&gt;

&lt;p&gt;Bafflingly (to me), I often see it written backwards.&lt;/p&gt;

&lt;p&gt;btw the interaction of WHERE clauses with outer joins might be worth a mention, as it seems to be another source of confusion.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I must admit this &#8220;left&#8221;/&#8221;right&#8221; concept has never made any sense to me.</p>

<p>Say you want to list customers and their orders, and you want to include customers who not have placed an order, so your query is an outer join driven from CUSTOMERS. Your FROM clause would intuitively (at least, to me) start with CUSTOMERS:</p>

<p>FROM customers LEFT OUTER JOIN orders</p>

<p>Surely it is ORDERS that is being joined? And it&#8217;s on the right? And if you wanted the join the other way around wouldn&#8217;t you just write</p>

<p>FROM orders LEFT OUTER JOIN customers</p>

<p>rather than writing it backwards and switching to &#8220;RIGHT OUTER JOIN&#8221; syntax? Why did they even need to invent two syntax options for exactly the same thing anyway? (I suspect this was a committee decision.)</p>

<p>While I&#8217;m at it, I would always begin any ORDERS predicate with a column name from ORDERS, e.g:</p>

<p>FROM customers c
     LEFT OUTER JOIN orders o
     ON o.order_id = c.order_id</p>

<p>(notice that &#8220;o&#8221; is now on the left) for the same reason that I would write</p>

<p>WHERE ename = &#8216;FORD&#8217;</p>

<p>and not</p>

<p>WHERE &#8216;FORD&#8217; = ename</p>

<p>Bafflingly (to me), I often see it written backwards.</p>

<p>btw the interaction of WHERE clauses with outer joins might be worth a mention, as it seems to be another source of confusion.</p>]]></content:encoded>
	</item>
</channel>
</rss>

