<?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 Standard Group By</title>
	<atom:link href="http://blog.mclaughlinsoftware.com/2010/03/10/mysql-standard-group-by/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mclaughlinsoftware.com/2010/03/10/mysql-standard-group-by/</link>
	<description>Michael McLaughlin's Technical Blog</description>
	<lastBuildDate>Wed, 08 Sep 2010 23:39:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Suhani</title>
		<link>http://blog.mclaughlinsoftware.com/2010/03/10/mysql-standard-group-by/comment-page-1/#comment-30607</link>
		<dc:creator>Suhani</dc:creator>
		<pubDate>Tue, 31 Aug 2010 10:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3595#comment-30607</guid>
		<description>ok ..thanks for the reply</description>
		<content:encoded><![CDATA[<p>ok ..thanks for the reply</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maclochlainn</title>
		<link>http://blog.mclaughlinsoftware.com/2010/03/10/mysql-standard-group-by/comment-page-1/#comment-30585</link>
		<dc:creator>maclochlainn</dc:creator>
		<pubDate>Tue, 31 Aug 2010 06:54:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3595#comment-30585</guid>
		<description>MySQL 5.1 doesn&#039;t support the &lt;code&gt;GROUPING&lt;/code&gt; command. I believe only Oracle and Microsoft SQL Server support the &lt;code&gt;GROUPING&lt;/code&gt; command. You&#039;ll have to just use the &lt;code&gt;UNION ALL&lt;/code&gt; set operators.</description>
		<content:encoded><![CDATA[<p>MySQL 5.1 doesn&#8217;t support the <code>GROUPING</code> command. I believe only Oracle and Microsoft SQL Server support the <code>GROUPING</code> command. You&#8217;ll have to just use the <code>UNION ALL</code> set operators.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suhani</title>
		<link>http://blog.mclaughlinsoftware.com/2010/03/10/mysql-standard-group-by/comment-page-1/#comment-30574</link>
		<dc:creator>Suhani</dc:creator>
		<pubDate>Tue, 31 Aug 2010 05:05:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3595#comment-30574</guid>
		<description>hi... nice article..

have one question. is there any functionality in MySql which results same as grouping sets of oracle ?</description>
		<content:encoded><![CDATA[<p>hi&#8230; nice article..</p>
<p>have one question. is there any functionality in MySql which results same as grouping sets of oracle ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maclochlainn</title>
		<link>http://blog.mclaughlinsoftware.com/2010/03/10/mysql-standard-group-by/comment-page-1/#comment-18156</link>
		<dc:creator>maclochlainn</dc:creator>
		<pubDate>Sat, 13 Mar 2010 22:15:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3595#comment-18156</guid>
		<description>Gary,

While there&#039;s no &lt;code&gt;TO_CHAR&lt;/code&gt; in MySQL, you&#039;re intuition served us well. There&#039;s a huge downside to overriding the default behavior. Hidden columns means grouping by function results. Thanks for getting me to dig deeper. :-)

Michael</description>
		<content:encoded><![CDATA[<p>Gary,</p>
<p>While there&#8217;s no <code>TO_CHAR</code> in MySQL, you&#8217;re intuition served us well. There&#8217;s a huge downside to overriding the default behavior. Hidden columns means grouping by function results. Thanks for getting me to dig deeper. <img src='http://blog.mclaughlinsoftware.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gary</title>
		<link>http://blog.mclaughlinsoftware.com/2010/03/10/mysql-standard-group-by/comment-page-1/#comment-17951</link>
		<dc:creator>gary</dc:creator>
		<pubDate>Wed, 10 Mar 2010 23:09:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mclaughlinsoftware.com/?p=3595#comment-17951</guid>
		<description>Don&#039;t have a MySQL available, but I&#039;d be interested to know whether blocking the standard behaviour has other consequences.
Particularly, I&#039;m thinking about where you might do the equivalent of
SELECT TO_CHAR(date_col,&#039;DD/Mon/YYYY&#039;) dte, count(*)
FROM table
GROUP BY date_col
ORDER BY date_col

So you are not explicitly grouping by the expression in the select list, but the selected expression can be directly and deterministically derived from the column in the group clause.

Another example might be
SELECT &#039;Color &#039;&#124;&#124;color&#124;&#124;&#039;:&#039;&#124;&#124;count(*)
FROM table
GROUP BY color</description>
		<content:encoded><![CDATA[<p>Don&#8217;t have a MySQL available, but I&#8217;d be interested to know whether blocking the standard behaviour has other consequences.<br />
Particularly, I&#8217;m thinking about where you might do the equivalent of<br />
SELECT TO_CHAR(date_col,&#8217;DD/Mon/YYYY&#8217;) dte, count(*)<br />
FROM table<br />
GROUP BY date_col<br />
ORDER BY date_col</p>
<p>So you are not explicitly grouping by the expression in the select list, but the selected expression can be directly and deterministically derived from the column in the group clause.</p>
<p>Another example might be<br />
SELECT &#8216;Color &#8216;||color||&#8217;:'||count(*)<br />
FROM table<br />
GROUP BY color</p>
]]></content:encoded>
	</item>
</channel>
</rss>
