<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Waldar&#039;s SQLing and Datawarehousing Place &#187; distinct</title>
	<atom:link href="http://www.waldar.org/blog/tag/distinct/feed" rel="self" type="application/rss+xml" />
	<link>http://www.waldar.org/blog</link>
	<description>SQL behind Business Intelligence</description>
	<lastBuildDate>Tue, 01 Jun 2010 23:20:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Writting Bad Query To Achieve Better Query</title>
		<link>http://www.waldar.org/blog/200909/writting-bad-query-achieve-better-query</link>
		<comments>http://www.waldar.org/blog/200909/writting-bad-query-achieve-better-query#comments</comments>
		<pubDate>Wed, 30 Sep 2009 20:00:50 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[analytic functions]]></category>
		<category><![CDATA[distinct]]></category>
		<category><![CDATA[group by]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=538</guid>
		<description><![CDATA[That title is sounding odd I admit it.
In the french forums développez.net there is a regular mistake that I try to emphasize on each time I read it, it's the use of GROUP BY without any aggregate functions to perform a regular DISTINCT operation.
Here's a very simple example (if you're not working on Oracle just [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200909/writting-bad-query-achieve-better-query/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is Distinct A Synonym To Order By In MS SQL Server ?</title>
		<link>http://www.waldar.org/blog/200907/is-distinct-a-synonym-to-order-by-in-ms-sql-server</link>
		<comments>http://www.waldar.org/blog/200907/is-distinct-a-synonym-to-order-by-in-ms-sql-server#comments</comments>
		<pubDate>Fri, 10 Jul 2009 01:32:00 +0000</pubDate>
		<dc:creator>Waldar</dc:creator>
				<category><![CDATA[SQLing]]></category>
		<category><![CDATA[cte]]></category>
		<category><![CDATA[distinct]]></category>
		<category><![CDATA[Explain plan]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[sort]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tom Kyte]]></category>
		<category><![CDATA[TSQL]]></category>

		<guid isPermaLink="false">http://www.waldar.org/blog/?p=313</guid>
		<description><![CDATA[This afternoon, I was chatting with Antoine Gémis about T-SQL, and this subject came on the table.
He was asking if, in my opinion, using both a distinct and an order by in the same statement would make the query worst due to the fact that distinct is already performing a sort on his own.
Working mostly [...]]]></description>
		<wfw:commentRss>http://www.waldar.org/blog/200907/is-distinct-a-synonym-to-order-by-in-ms-sql-server/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
