<?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>《SQL语句性能比较》的评论</title>
	<atom:link href="https://wordpress.diguage.com/archives/21.html/feed" rel="self" type="application/rss+xml" />
	<link>https://wordpress.diguage.com/archives/21.html</link>
	<description>分享技术带来的喜悦—https://www.diguage.com/</description>
	<lastBuildDate>Thu, 11 Jun 2020 02:02:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>作者：coolgirl</title>
		<link>https://wordpress.diguage.com/archives/21.html#comment-343</link>
		<dc:creator>coolgirl</dc:creator>
		<pubDate>Thu, 29 Nov 2012 09:02:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.diguage.com/?p=21#comment-343</guid>
		<description>SELECT *
  FROM test
 WHERE (columnA  &#039;aValue&#039; OR columnB  &#039;bValue&#039;);
结果集合：当columnA&#039;aVAlue&#039;时和 columnB  &#039;bValue&#039;会有重复记录吧，类比示例-2，非（A and B）
和 非A and 非B 应当是一类意思
--------------------------------------------------------------------------------------------------------------------
SELECT *  FROM test WHERE columnA  &#039;aValue&#039;
UNION ALL
SELECT *  FROM test WHERE columnB  &#039;bValue&#039;;  同样这个也是会有重复记录，请查证我的理解是否正确。</description>
		<content:encoded><![CDATA[<p>SELECT *<br />
  FROM test<br />
 WHERE (columnA  &#8216;aValue&#8217; OR columnB  &#8216;bValue&#8217;);<br />
结果集合：当columnA&#8217;aVAlue&#8217;时和 columnB  &#8216;bValue&#8217;会有重复记录吧，类比示例-2，非（A and B）<br />
和 非A and 非B 应当是一类意思<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
SELECT *  FROM test WHERE columnA  &#8216;aValue&#8217;<br />
UNION ALL<br />
SELECT *  FROM test WHERE columnB  &#8216;bValue&#8217;;  同样这个也是会有重复记录，请查证我的理解是否正确。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：大头</title>
		<link>https://wordpress.diguage.com/archives/21.html#comment-278</link>
		<dc:creator>大头</dc:creator>
		<pubDate>Wed, 14 Nov 2012 00:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.diguage.com/?p=21#comment-278</guid>
		<description>初步猜测，实例4的效率最高</description>
		<content:encoded><![CDATA[<p>初步猜测，实例4的效率最高</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：ghl0903</title>
		<link>https://wordpress.diguage.com/archives/21.html#comment-229</link>
		<dc:creator>ghl0903</dc:creator>
		<pubDate>Fri, 02 Nov 2012 07:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.diguage.com/?p=21#comment-229</guid>
		<description>7的话 合并会不会有重复的记录啊，比如说既符合A条件的又符合B条件的</description>
		<content:encoded><![CDATA[<p>7的话 合并会不会有重复的记录啊，比如说既符合A条件的又符合B条件的</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: https://www.w3-edge.com/products/

Object Caching 192/232 objects using disk
Page Caching using disk: enhanced (SSL caching disabled)
Database Caching using disk

 Served from: wordpress.diguage.com @ 2026-04-23 21:18:47 by W3 Total Cache -->