<?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: An alternative to DISTINCT</title>
	<atom:link href="http://awads.net/wp/2006/03/08/an-alternative-to-distinct/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2006/03/08/an-alternative-to-distinct/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<pubDate>Fri, 21 Nov 2008 04:24:39 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Nevel</title>
		<link>http://awads.net/wp/2006/03/08/an-alternative-to-distinct/#comment-51674</link>
		<dc:creator>Nevel</dc:creator>
		<pubDate>Fri, 12 Oct 2007 10:14:35 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=232#comment-51674</guid>
		<description>&lt;p&gt;Cool post! Just had an issue with a query for which both group by and distinct didn't work.
Or at least, not the way I wanted it too ;). This solution worked fine though, since it literally enforces the uniqueness.&lt;/p&gt;

&lt;p&gt;Very nice!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Cool post! Just had an issue with a query for which both group by and distinct didn&#8217;t work.<br />
Or at least, not the way I wanted it too ;). This solution worked fine though, since it literally enforces the uniqueness.</p>
<p>Very nice!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/03/08/an-alternative-to-distinct/#comment-23293</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Mon, 03 Jul 2006 15:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=232#comment-23293</guid>
		<description>&lt;p&gt;Mostafa, the link you provided is for PostgreSQL not for Oracle. I do not know PostgreSQL so I cannot intelligently comment on it. However, I do know one thing, instead of saying: "using a SELECT DISTINCT SQL query is not a good idea", I would say: "use distinct wherever and whenever you &lt;i&gt;have to&lt;/i&gt;.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Mostafa, the link you provided is for PostgreSQL not for Oracle. I do not know PostgreSQL so I cannot intelligently comment on it. However, I do know one thing, instead of saying: &#8220;using a SELECT DISTINCT SQL query is not a good idea&#8221;, I would say: &#8220;use distinct wherever and whenever you <i>have to</i>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mostafa</title>
		<link>http://awads.net/wp/2006/03/08/an-alternative-to-distinct/#comment-23200</link>
		<dc:creator>Mostafa</dc:creator>
		<pubDate>Mon, 03 Jul 2006 05:53:59 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=232#comment-23200</guid>
		<description>&lt;p&gt;select distinct is the easy way,however,it can prove to be slow compared to other methods specialy on large tables.&lt;/p&gt;

&lt;p&gt;read more about this &lt;a href="http://www.databasejournal.com/features/postgresql/article.php/3437821" rel="nofollow"&gt;here&lt;/a&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>select distinct is the easy way,however,it can prove to be slow compared to other methods specialy on large tables.</p>
<p>read more about this <a href="http://www.databasejournal.com/features/postgresql/article.php/3437821" rel="nofollow">here</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/03/08/an-alternative-to-distinct/#comment-4368</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Fri, 14 Apr 2006 01:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=232#comment-4368</guid>
		<description>&lt;p&gt;Petri, sure you can simply write that too.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Petri, sure you can simply write that too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petri</title>
		<link>http://awads.net/wp/2006/03/08/an-alternative-to-distinct/#comment-4351</link>
		<dc:creator>Petri</dc:creator>
		<pubDate>Thu, 13 Apr 2006 10:36:40 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=232#comment-4351</guid>
		<description>&lt;p&gt;Why don't you simply write: select distinct department_id  from employees order by department_id;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Why don&#8217;t you simply write: select distinct department_id  from employees order by department_id;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/03/08/an-alternative-to-distinct/#comment-2106</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Thu, 09 Mar 2006 17:07:38 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=232#comment-2106</guid>
		<description>&lt;p&gt;This post is a perfect example of &lt;i&gt;cool&lt;/i&gt; versus &lt;i&gt;simple&lt;/i&gt;. However, sometimes, I do find some cool &lt;i&gt;and&lt;/i&gt; simple solutions to some not so simple problems.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This post is a perfect example of <i>cool</i> versus <i>simple</i>. However, sometimes, I do find some cool <i>and</i> simple solutions to some not so simple problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Hunter</title>
		<link>http://awads.net/wp/2006/03/08/an-alternative-to-distinct/#comment-2105</link>
		<dc:creator>Jeff Hunter</dc:creator>
		<pubDate>Thu, 09 Mar 2006 14:26:54 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/?p=232#comment-2105</guid>
		<description>&lt;p&gt;Cool trumps simple every time!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Cool trumps simple every time!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
