<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>Jason Blog - php常用收集</title><link>http://www.web78.cn/blog/</link><description>- 阿靖个人博客 - </description><generator>RainbowSoft Studio Z-Blog 1.8 Arwen Build 81206</generator><language>zh-CN</language><copyright>Copyright 2006-2010 www.web78.cn. All Rights Reserved.</copyright><pubDate>Sat, 04 Sep 2010 19:04:06 +0800</pubDate><item><title>多表联合查询，Union与Union All的区别</title><author>a@b.com (admin)</author><link>http://www.web78.cn/blog/post/521.html</link><pubDate>Sun, 09 May 2010 22:23:26 +0800</pubDate><guid>http://www.web78.cn/blog/post/521.html</guid><description><![CDATA[Union与Union All的区别 <br/><br/>如果我们需要将两个select语句的结果作为一个整体显示出来，我们就需要用到union或者union all关键字。union(或称为联合)的作用是将多个结果合并在一起显示出来。 <br/><br/>union和union all的区别是,union会自动压缩多个结果集合中的重复结果，而union all则将所有的结果全部显示出来，不管是不是重复。 <br/><br/><br/>Union：对两个结果集进行并集操作，不包括重复行，同时进行默认规则的排序； <br/><br/>Union All：对两个结果集进行并集操作，包括重复行，不进行排序； <br/>...]]></description><category>php常用收集</category><comments>http://www.web78.cn/blog/post/521.html#comment</comments><wfw:comment>http://www.web78.cn/blog/</wfw:comment><wfw:commentRss>http://www.web78.cn/blog/feed.asp?cmt=521</wfw:commentRss><trackback:ping>http://www.web78.cn/blog/cmd.asp?act=tb&amp;id=521&amp;key=f4604935</trackback:ping></item></channel></rss>
