<?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: How to write a lazy UNION in MySQL</title>
	<atom:link href="http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:56:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Log Buffer #102: a Carnival of the Vanities for DBAs</title>
		<link>http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-15888</link>
		<dc:creator>Log Buffer #102: a Carnival of the Vanities for DBAs</dc:creator>
		<pubDate>Fri, 20 Feb 2009 21:22:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-15888</guid>
		<description>[...] Schwartz of xaprb describes how to write a lazy UNION in MySQL. No, it doesn&#8217;t deal with posting a complaint about undefended job benefits. Baron explains: [...]</description>
		<content:encoded><![CDATA[<p>[...] Schwartz of xaprb describes how to write a lazy UNION in MySQL. No, it doesn&#8217;t deal with posting a complaint about undefended job benefits. Baron explains: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-15564</link>
		<dc:creator>Xaprb</dc:creator>
		<pubDate>Mon, 15 Dec 2008 19:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-15564</guid>
		<description>I should note that this theory has now proven itself in the real world.  There&#039;s a query of the type

select * from
(select * from foo, bar, baz order by abc limit 50) as a
union
(select * from egg, dog, cat order by def limit 50) as b
limit 50

It was possible to write this such that if 50 rows were found in the first query, the second one would not run at all.</description>
		<content:encoded><![CDATA[<p>I should note that this theory has now proven itself in the real world.  There&#8217;s a query of the type</p>
<p>select * from<br />
(select * from foo, bar, baz order by abc limit 50) as a<br />
union<br />
(select * from egg, dog, cat order by def limit 50) as b<br />
limit 50</p>
<p>It was possible to write this such that if 50 rows were found in the first query, the second one would not run at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ð Ð°Ð·Ñ€Ð°Ð±Ð¾Ñ‚ÐºÐ° ÑÐ°Ð¹Ñ‚Ð¾Ð²</title>
		<link>http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-15525</link>
		<dc:creator>Ð Ð°Ð·Ñ€Ð°Ð±Ð¾Ñ‚ÐºÐ° ÑÐ°Ð¹Ñ‚Ð¾Ð²</dc:creator>
		<pubDate>Wed, 10 Dec 2008 15:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-15525</guid>
		<description>What with MySQL 6?</description>
		<content:encoded><![CDATA[<p>What with MySQL 6?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry</title>
		<link>http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-15524</link>
		<dc:creator>Dmitry</dc:creator>
		<pubDate>Wed, 10 Dec 2008 15:52:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-15524</guid>
		<description>Creative hack. Respect.</description>
		<content:encoded><![CDATA[<p>Creative hack. Respect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-14847</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Tue, 01 Jul 2008 17:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/2008/06/15/how-to-write-a-lazy-union-in-mysql/#comment-14847</guid>
		<description>I would typically use a stored procedure to achieve this type of thing without the overhead of 2 trips to the db.  I haven&#039;t used SPs yet with MySQL -- are they frowned upon?</description>
		<content:encoded><![CDATA[<p>I would typically use a stored procedure to achieve this type of thing without the overhead of 2 trips to the db.  I haven&#8217;t used SPs yet with MySQL &#8212; are they frowned upon?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

