<?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: two dimentional output</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/two-dimentional-output/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/two-dimentional-output/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 04:33:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: slateken</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/two-dimentional-output/#comment-73310</link>
		<dc:creator>slateken</dc:creator>
		<pubDate>Tue, 02 Feb 2010 19:07:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-73310</guid>
		<description><![CDATA[Good stuff, BigKat.  Really enjoyed that and built a working example over my database.  I will certainly use this tip.  Thanks.]]></description>
		<content:encoded><![CDATA[<p>Good stuff, BigKat.  Really enjoyed that and built a working example over my database.  I will certainly use this tip.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pushkar099</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/two-dimentional-output/#comment-73197</link>
		<dc:creator>pushkar099</dc:creator>
		<pubDate>Mon, 01 Feb 2010 10:44:50 +0000</pubDate>
		<guid isPermaLink="false">#comment-73197</guid>
		<description><![CDATA[SELECT * 
  FROM (
        SELECT ROWNUM AS RANK, ID,YEAR, COL1,COL2,DATE
  
  	  FROM (
		SELECT ROWNUM AS RANK,YEAR, ID,COL1,COL2,DATE
	  	  FROM EMPLOYEE
	         WHERE YEAR IN (&#039;2008&#039;)
         	 ORDER BY DATE DESC
        	) A
 	  WHERE RANK=1
          UNION
	 SELECT ROWNUM AS RANK, ID,YEAR, COL1,COL2,DATE
	   FROM
		(
         	 SELECT ROWNUM AS RANK1, YEAR, COL1,COL2, DATE
           	   FROM EMPLOYEE
          	  WHERE YEAR IN (&#039;2009&#039;)
          	  ORDER BY DATE DESC
         	)
 	  WHERE RANK=1
   )

This particualr ansqwer is for Oracle database.]]></description>
		<content:encoded><![CDATA[<p>SELECT *<br />
  FROM (<br />
        SELECT ROWNUM AS RANK, ID,YEAR, COL1,COL2,DATE</p>
<p>  	  FROM (<br />
		SELECT ROWNUM AS RANK,YEAR, ID,COL1,COL2,DATE<br />
	  	  FROM EMPLOYEE<br />
	         WHERE YEAR IN (&#8217;2008&#8242;)<br />
         	 ORDER BY DATE DESC<br />
        	) A<br />
 	  WHERE RANK=1<br />
          UNION<br />
	 SELECT ROWNUM AS RANK, ID,YEAR, COL1,COL2,DATE<br />
	   FROM<br />
		(<br />
         	 SELECT ROWNUM AS RANK1, YEAR, COL1,COL2, DATE<br />
           	   FROM EMPLOYEE<br />
          	  WHERE YEAR IN (&#8217;2009&#8242;)<br />
          	  ORDER BY DATE DESC<br />
         	)<br />
 	  WHERE RANK=1<br />
   )</p>
<p>This particualr ansqwer is for Oracle database.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/9 queries in 0.204 seconds using memcached
Object Caching 282/285 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 07:22:22 -->