<?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 optimize subqueries and joins in MySQL</title>
	<atom:link href="http://www.xaprb.com/blog/2006/04/30/how-to-optimize-subqueries-and-joins-in-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2006/04/30/how-to-optimize-subqueries-and-joins-in-mysql/</link>
	<description>Stay curious!</description>
	<lastBuildDate>Fri, 30 Jul 2010 06:32:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.xaprb.com/blog/2006/04/30/how-to-optimize-subqueries-and-joins-in-mysql/#comment-18504</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 15 Jul 2010 15:56:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=127#comment-18504</guid>
		<description>I wanted to thank you for your help in suggesting the wrapper subquery trick. I had a query which took forever but now it runs pretty quick.</description>
		<content:encoded><![CDATA[<p>I wanted to thank you for your help in suggesting the wrapper subquery trick. I had a query which took forever but now it runs pretty quick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Mior</title>
		<link>http://www.xaprb.com/blog/2006/04/30/how-to-optimize-subqueries-and-joins-in-mysql/#comment-18490</link>
		<dc:creator>Michael Mior</dc:creator>
		<pubDate>Fri, 09 Jul 2010 02:41:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=127#comment-18490</guid>
		<description>I know this post is ancient now. But I just wanted to thank you for your help in suggesting the wrapper subquery trick. It helped me go from a query which timed out after one hour to one which executes in around 5 seconds. Awesome!</description>
		<content:encoded><![CDATA[<p>I know this post is ancient now. But I just wanted to thank you for your help in suggesting the wrapper subquery trick. It helped me go from a query which timed out after one hour to one which executes in around 5 seconds. Awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grateful ...</title>
		<link>http://www.xaprb.com/blog/2006/04/30/how-to-optimize-subqueries-and-joins-in-mysql/#comment-18450</link>
		<dc:creator>Grateful ...</dc:creator>
		<pubDate>Mon, 28 Jun 2010 20:28:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=127#comment-18450</guid>
		<description>Thanks for posting this.  Your simple fix was able to take one of the uglier queries I have ever written from 22+ minutes down to 3.8 seconds.</description>
		<content:encoded><![CDATA[<p>Thanks for posting this.  Your simple fix was able to take one of the uglier queries I have ever written from 22+ minutes down to 3.8 seconds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vector Thorn</title>
		<link>http://www.xaprb.com/blog/2006/04/30/how-to-optimize-subqueries-and-joins-in-mysql/#comment-18385</link>
		<dc:creator>Vector Thorn</dc:creator>
		<pubDate>Mon, 07 Jun 2010 23:08:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=127#comment-18385</guid>
		<description>Hey, thanks for clarifying this. So, if i gather everything correctly, joins are best, derived tables are second best, and subqueries are worst-case scenario? That sounds very reasonable.

Thanks for sharing.</description>
		<content:encoded><![CDATA[<p>Hey, thanks for clarifying this. So, if i gather everything correctly, joins are best, derived tables are second best, and subqueries are worst-case scenario? That sounds very reasonable.</p>
<p>Thanks for sharing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Math</title>
		<link>http://www.xaprb.com/blog/2006/04/30/how-to-optimize-subqueries-and-joins-in-mysql/#comment-17120</link>
		<dc:creator>Math</dc:creator>
		<pubDate>Fri, 16 Oct 2009 16:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=127#comment-17120</guid>
		<description>Hi,

I select the value of a table using type and I also want the mysql query to its next and previous type all this has to written in single query

select * from tb1 where type=&#039;All calculators&#039;,id=(all cal+1)

Is there is any option to do all this in one query.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I select the value of a table using type and I also want the mysql query to its next and previous type all this has to written in single query</p>
<p>select * from tb1 where type=&#8217;All calculators&#8217;,id=(all cal+1)</p>
<p>Is there is any option to do all this in one query.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
