<?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: Using SQL computations in WHERE clause</title>
	<atom:link href="http://frankkoehl.com/2008/08/using-sql-computations-in-where-clause/feed/" rel="self" type="application/rss+xml" />
	<link>http://frankkoehl.com/2008/08/using-sql-computations-in-where-clause/</link>
	<description>The more you know, the more you don't know</description>
	<pubDate>Tue, 06 Jan 2009 02:33:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Frank</title>
		<link>http://frankkoehl.com/2008/08/using-sql-computations-in-where-clause/comment-page-1/#comment-57</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Fri, 22 Aug 2008 14:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://frankkoehl.com/?p=25#comment-57</guid>
		<description>Also a good solution, Chris. Thanks!  See, that's why you gotta hang out with these Zen Cart guys.</description>
		<content:encoded><![CDATA[<p>Also a good solution, Chris. Thanks!  See, that&#8217;s why you gotta hang out with these Zen Cart guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DrByte</title>
		<link>http://frankkoehl.com/2008/08/using-sql-computations-in-where-clause/comment-page-1/#comment-56</link>
		<dc:creator>DrByte</dc:creator>
		<pubDate>Sat, 09 Aug 2008 20:34:24 +0000</pubDate>
		<guid isPermaLink="false">http://frankkoehl.com/?p=25#comment-56</guid>
		<description>Another way to tackle the same thing would be to use a HAVING clause instead of a WHERE clause, to give the same results:

SELECT widgetID, count( widgetID ) AS totalWidgets
FROM table_widget_sales
GROUP BY widgetID
HAVING totalWidgets &#62; 1
ORDER BY totalWidgets DESC</description>
		<content:encoded><![CDATA[<p>Another way to tackle the same thing would be to use a HAVING clause instead of a WHERE clause, to give the same results:</p>
<p>SELECT widgetID, count( widgetID ) AS totalWidgets<br />
FROM table_widget_sales<br />
GROUP BY widgetID<br />
HAVING totalWidgets &gt; 1<br />
ORDER BY totalWidgets DESC</p>
]]></content:encoded>
	</item>
</channel>
</rss>
