<?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"
	>
<channel>
	<title>Comments on: How to find data distributions with SQL</title>
	<atom:link href="http://www.xaprb.com/blog/2006/06/10/how-to-find-data-distributions-with-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xaprb.com/blog/2006/06/10/how-to-find-data-distributions-with-sql/</link>
	<description>Stay curious!</description>
	<pubDate>Tue, 06 Jan 2009 10:40:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
		<item>
		<title>By: Flamander</title>
		<link>http://www.xaprb.com/blog/2006/06/10/how-to-find-data-distributions-with-sql/#comment-14865</link>
		<dc:creator>Flamander</dc:creator>
		<pubDate>Fri, 11 Jul 2008 17:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.xaprb.com/blog/?p=142#comment-14865</guid>
		<description>SO many thanks.. that was really useful for me... I was trying to do a report of salaries grouped by ranges and I had no idea how to do it... and at the end the result was: SELECT concat( start, '-', end ) AS range, count( salary ) AS total FROM employees INNER JOIN ranges ON employees.salary BETWEEN ranges.start AND ranges.end GROUP BY ranges.start, ranges.end</description>
		<content:encoded><![CDATA[<p>SO many thanks.. that was really useful for me&#8230; I was trying to do a report of salaries grouped by ranges and I had no idea how to do it&#8230; and at the end the result was: SELECT concat( start, &#8216;-&#8217;, end ) AS range, count( salary ) AS total FROM employees INNER JOIN ranges ON employees.salary BETWEEN ranges.start AND ranges.end GROUP BY ranges.start, ranges.end</p>
]]></content:encoded>
	</item>
</channel>
</rss>
