<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>程序如此灵动！ &#187; sql</title>
	<atom:link href="http://newsn.net/tag/sql/feed" rel="self" type="application/rss+xml" />
	<link>http://newsn.net</link>
	<description>苏南的网络日记本本  O(∩_∩)O  哈哈~</description>
	<lastBuildDate>Mon, 13 Jul 2009 02:59:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>select * from a,b 以及 left join 、right join的sql语句差别</title>
		<link>http://newsn.net/20090618/590.html</link>
		<comments>http://newsn.net/20090618/590.html#comments</comments>
		<pubDate>Thu, 18 Jun 2009 06:09:56 +0000</pubDate>
		<dc:creator>苏南</dc:creator>
				<category><![CDATA[IT.IT]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://newsn.net/20090618/590.html</guid>
		<description><![CDATA[ 这几条语句都是两表联合查询，但是具体使用起来是不一样的，主要根据两个表之间的内容差别来选择不同的语句。下面是点小小的总结。
 
一、表用例的结构    
这里面good_user_info里面的user_id是个外键，对应all_user_list中的id。
二、范例用sql语句    1、select * from a,b    SELECT a.*,b.home     FROM `all_user_list` AS a, `good_user_info` AS b    WHERE a.id = b.user_id    order by a.id     2、Left Join    SELECT a.*,b.home FROM [...]]]></description>
		<wfw:commentRss>http://newsn.net/20090618/590.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
