<?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: MySQL UPDATE with SELECT on the same table in the same query</title>
	<atom:link href="http://the-stickman.com/uncategorized/mysql-update-with-select-on-the-same-table-in-the-same-query/feed/" rel="self" type="application/rss+xml" />
	<link>http://the-stickman.com/uncategorized/mysql-update-with-select-on-the-same-table-in-the-same-query/</link>
	<description>Random developer notes</description>
	<lastBuildDate>Fri, 09 Jul 2010 18:01:55 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: did not work</title>
		<link>http://the-stickman.com/uncategorized/mysql-update-with-select-on-the-same-table-in-the-same-query/comment-page-1/#comment-1445</link>
		<dc:creator>did not work</dc:creator>
		<pubDate>Fri, 09 Jul 2010 18:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=194#comment-1445</guid>
		<description>This didn&#039;t work for me. I still get &quot;You can specify target table &#039;foo&#039; for update in FROM clause.&quot;</description>
		<content:encoded><![CDATA[<p>This didn&#8217;t work for me. I still get &#8220;You can specify target table &#8216;foo&#8217; for update in FROM clause.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich</title>
		<link>http://the-stickman.com/uncategorized/mysql-update-with-select-on-the-same-table-in-the-same-query/comment-page-1/#comment-1399</link>
		<dc:creator>Rich</dc:creator>
		<pubDate>Tue, 25 May 2010 20:36:29 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=194#comment-1399</guid>
		<description>Thanks! I&#039;ve been struggling with this too.  Thanks to Bruno too!</description>
		<content:encoded><![CDATA[<p>Thanks! I&#8217;ve been struggling with this too.  Thanks to Bruno too!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno Ng</title>
		<link>http://the-stickman.com/uncategorized/mysql-update-with-select-on-the-same-table-in-the-same-query/comment-page-1/#comment-1250</link>
		<dc:creator>Bruno Ng</dc:creator>
		<pubDate>Tue, 16 Jun 2009 15:31:59 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=194#comment-1250</guid>
		<description>Here&#039;s the simplified version :
UPDATE my_table t, (SELECT MAX(my_value) + 1 AS selected_value FROM my_table) AS t2 SET t.my_value = t2.selected_value WHERE t.id = 123;</description>
		<content:encoded><![CDATA[<p>Here&#8217;s the simplified version :<br />
UPDATE my_table t, (SELECT MAX(my_value) + 1 AS selected_value FROM my_table) AS t2 SET t.my_value = t2.selected_value WHERE t.id = 123;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vighnesh</title>
		<link>http://the-stickman.com/uncategorized/mysql-update-with-select-on-the-same-table-in-the-same-query/comment-page-1/#comment-1223</link>
		<dc:creator>Vighnesh</dc:creator>
		<pubDate>Fri, 29 May 2009 09:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://the-stickman.com/?p=194#comment-1223</guid>
		<description>Thanks this helped me. I needed same sort of solution.</description>
		<content:encoded><![CDATA[<p>Thanks this helped me. I needed same sort of solution.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
