<?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/"
		>
<channel>
	<title>Comments on: Everything PHP: Multiple Table Joins</title>
	<atom:link href="http://blog.bluefur.com/2009/12/30/php-multiple-table-joins/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.bluefur.com/2009/12/30/php-multiple-table-joins/</link>
	<description>Just another Hosting weblog</description>
	<lastBuildDate>Thu, 24 Nov 2011 01:38:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Justin Swanhart</title>
		<link>http://blog.bluefur.com/2009/12/30/php-multiple-table-joins/comment-page-1/#comment-131642</link>
		<dc:creator>Justin Swanhart</dc:creator>
		<pubDate>Thu, 31 Dec 2009 00:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.bluefur.com/?p=5710#comment-131642</guid>
		<description>While the JOIN syntax provided is valid, it is highly unusual.  I&#039;ve been a DBA for a long time, and I&#039;ve never actually encountered a SQL statement which uses the /table_references/ variant of the ANSI join clause.

One will usually see:
1.
SELECT * 
   FROM table1 
     JOIN table2 
        ON table1.id = table2.id 
     JOIN table3 
        ON table1.name = table3.name 
     JOIN table4 
        ON table1.email = table4.email

or

SELECT * 
   FROM table1,table2,table3,table4
WHERE table1.id = table2.id 
      AND table1.name = table3.name 
      AND table1.email = table4.email</description>
		<content:encoded><![CDATA[<p>While the JOIN syntax provided is valid, it is highly unusual.  I&#8217;ve been a DBA for a long time, and I&#8217;ve never actually encountered a SQL statement which uses the /table_references/ variant of the ANSI join clause.</p>
<p>One will usually see:<br />
1.<br />
SELECT *<br />
   FROM table1<br />
     JOIN table2<br />
        ON table1.id = table2.id<br />
     JOIN table3<br />
        ON table1.name = table3.name<br />
     JOIN table4<br />
        ON table1.email = table4.email</p>
<p>or</p>
<p>SELECT *<br />
   FROM table1,table2,table3,table4<br />
WHERE table1.id = table2.id<br />
      AND table1.name = table3.name<br />
      AND table1.email = table4.email</p>
]]></content:encoded>
	</item>
</channel>
</rss>

