<?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: keep dense_rank with multiple column</title>
	<atom:link href="http://laurentschneider.com/wordpress/2007/08/keep-dense_rank-with-multiple-column.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://laurentschneider.com/wordpress/2007/08/keep-dense_rank-with-multiple-column.html</link>
	<description>Oracle Certified Master</description>
	<pubDate>Mon, 01 Dec 2008 18:59:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: DJ</title>
		<link>http://laurentschneider.com/wordpress/2007/08/keep-dense_rank-with-multiple-column.html#comment-4534</link>
		<dc:creator>DJ</dc:creator>
		<pubDate>Fri, 17 Aug 2007 14:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/08/keep-dense_rank-with-multiple-column.html#comment-4534</guid>
		<description>Fair enough, but t is a table in your demo.</description>
		<content:encoded><![CDATA[<p>Fair enough, but t is a table in your demo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laurent Schneider</title>
		<link>http://laurentschneider.com/wordpress/2007/08/keep-dense_rank-with-multiple-column.html#comment-4533</link>
		<dc:creator>Laurent Schneider</dc:creator>
		<pubDate>Fri, 17 Aug 2007 13:27:03 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/08/keep-dense_rank-with-multiple-column.html#comment-4533</guid>
		<description>well, sometimes yes, but not always, it may fail if t is a view</description>
		<content:encoded><![CDATA[<p>well, sometimes yes, but not always, it may fail if t is a view</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DJ</title>
		<link>http://laurentschneider.com/wordpress/2007/08/keep-dense_rank-with-multiple-column.html#comment-4530</link>
		<dc:creator>DJ</dc:creator>
		<pubDate>Fri, 17 Aug 2007 12:19:45 +0000</pubDate>
		<guid isPermaLink="false">http://laurentschneider.com/wordpress/2007/08/keep-dense_rank-with-multiple-column.html#comment-4530</guid>
		<description>How about using rowid?
select deptno,
  max(firstname) keep (dense_rank last
    order by hiredate,rowid) firstname,
  max(lastname) keep (dense_rank last
    order by hiredate,rowid) lastname,
  max(hiredate) hiredate
from t
group by deptno;</description>
		<content:encoded><![CDATA[<p>How about using rowid?<br />
select deptno,<br />
  max(firstname) keep (dense_rank last<br />
    order by hiredate,rowid) firstname,<br />
  max(lastname) keep (dense_rank last<br />
    order by hiredate,rowid) lastname,<br />
  max(hiredate) hiredate<br />
from t<br />
group by deptno;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
