<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Query to Retrieve the Nth Maximum Value</title>
	<atom:link href="http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 09 Feb 2012 11:29:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: divanshu</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-208037</link>
		<dc:creator><![CDATA[divanshu]]></dc:creator>
		<pubDate>Wed, 30 Nov 2011 15:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-208037</guid>
		<description><![CDATA[very nice sir..makes a lot of help..thx.]]></description>
		<content:encoded><![CDATA[<p>very nice sir..makes a lot of help..thx.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alok Kumar Ranjan , Bangalore</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-206998</link>
		<dc:creator><![CDATA[Alok Kumar Ranjan , Bangalore]]></dc:creator>
		<pubDate>Tue, 29 Nov 2011 06:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-206998</guid>
		<description><![CDATA[select e.sal from emp e
where &amp;n = (select count(distinct(b.sal)) from emp b
where e.sal &lt;= b.sal);]]></description>
		<content:encoded><![CDATA[<p>select e.sal from emp e<br />
where &amp;n = (select count(distinct(b.sal)) from emp b<br />
where e.sal &lt;= b.sal);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manoj Kumar Singh</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-203959</link>
		<dc:creator><![CDATA[Manoj Kumar Singh]]></dc:creator>
		<pubDate>Thu, 24 Nov 2011 23:47:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-203959</guid>
		<description><![CDATA[Hi,
This is the very nice query
Regards,
Manoj Kumar Singh]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
This is the very nice query<br />
Regards,<br />
Manoj Kumar Singh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kalpna Bindal</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-192844</link>
		<dc:creator><![CDATA[Kalpna Bindal]]></dc:creator>
		<pubDate>Fri, 11 Nov 2011 04:14:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-192844</guid>
		<description><![CDATA[i want to find the second highest salary from table without ordering table and with no max or count function?
How can i do this???
please reply me.....
thank you..

from Kalpna Bindal
student of 3rd year in B.Tech.]]></description>
		<content:encoded><![CDATA[<p>i want to find the second highest salary from table without ordering table and with no max or count function?<br />
How can i do this???<br />
please reply me&#8230;..<br />
thank you..</p>
<p>from Kalpna Bindal<br />
student of 3rd year in B.Tech.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sasikumar</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-162190</link>
		<dc:creator><![CDATA[sasikumar]]></dc:creator>
		<pubDate>Fri, 26 Aug 2011 10:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-162190</guid>
		<description><![CDATA[in that where clause, u should specify the column name only. Not a variable]]></description>
		<content:encoded><![CDATA[<p>in that where clause, u should specify the column name only. Not a variable</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sagar</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-133122</link>
		<dc:creator><![CDATA[sagar]]></dc:creator>
		<pubDate>Fri, 06 May 2011 03:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-133122</guid>
		<description><![CDATA[Thanks a lot,

I have a query, if I replace &quot;N&quot; with 1, then actually it return lowest and highest one salary. 

SELECT *
FROM Employee E1
WHERE (1-1) = (
SELECT COUNT(DISTINCT(E2.Salary))
FROM Employee E2
WHERE E2.Salary &gt; E1.Salary) 

Why?]]></description>
		<content:encoded><![CDATA[<p>Thanks a lot,</p>
<p>I have a query, if I replace &#8220;N&#8221; with 1, then actually it return lowest and highest one salary. </p>
<p>SELECT *<br />
FROM Employee E1<br />
WHERE (1-1) = (<br />
SELECT COUNT(DISTINCT(E2.Salary))<br />
FROM Employee E2<br />
WHERE E2.Salary &gt; E1.Salary) </p>
<p>Why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sudheer</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-109708</link>
		<dc:creator><![CDATA[sudheer]]></dc:creator>
		<pubDate>Thu, 06 Jan 2011 07:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-109708</guid>
		<description><![CDATA[thanq sir]]></description>
		<content:encoded><![CDATA[<p>thanq sir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sudheer</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-109707</link>
		<dc:creator><![CDATA[sudheer]]></dc:creator>
		<pubDate>Thu, 06 Jan 2011 07:19:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-109707</guid>
		<description><![CDATA[Thankq sir]]></description>
		<content:encoded><![CDATA[<p>Thankq sir</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-108867</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Fri, 31 Dec 2010 10:39:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-108867</guid>
		<description><![CDATA[Make use of this post
http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx]]></description>
		<content:encoded><![CDATA[<p>Make use of this post<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kishan</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-108506</link>
		<dc:creator><![CDATA[kishan]]></dc:creator>
		<pubDate>Wed, 29 Dec 2010 14:28:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-108506</guid>
		<description><![CDATA[Hi, can you write a query to find the 5th Highest salary of a table without using inner / sub query.?

Thanks, Kishan]]></description>
		<content:encoded><![CDATA[<p>Hi, can you write a query to find the 5th Highest salary of a table without using inner / sub query.?</p>
<p>Thanks, Kishan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Cattell</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-100525</link>
		<dc:creator><![CDATA[Scott Cattell]]></dc:creator>
		<pubDate>Wed, 17 Nov 2010 10:38:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-100525</guid>
		<description><![CDATA[Hi,

I am looking to retrieve similar data but in a different way but cant quite get it right.

What i have is a customer table and a Purchases table, and i want to create a view that will give me:

Customer, MostRecenetPurchase, SecondMostRecentPurchase,...

Please help!

Many Thanks

Scott]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am looking to retrieve similar data but in a different way but cant quite get it right.</p>
<p>What i have is a customer table and a Purchases table, and i want to create a view that will give me:</p>
<p>Customer, MostRecenetPurchase, SecondMostRecentPurchase,&#8230;</p>
<p>Please help!</p>
<p>Many Thanks</p>
<p>Scott</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Minakshi</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-77289</link>
		<dc:creator><![CDATA[Minakshi]]></dc:creator>
		<pubDate>Tue, 22 Jun 2010 13:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-77289</guid>
		<description><![CDATA[Hello Pinal Dave,

It works for me.Thanks.

Regards,
Minakshi.]]></description>
		<content:encoded><![CDATA[<p>Hello Pinal Dave,</p>
<p>It works for me.Thanks.</p>
<p>Regards,<br />
Minakshi.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-70283</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 11 May 2010 08:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-70283</guid>
		<description><![CDATA[It basically generate serial number based on the salary
It is generated in ascending order of the salary and you use use it in where clause to get Nth maximum value]]></description>
		<content:encoded><![CDATA[<p>It basically generate serial number based on the salary<br />
It is generated in ascending order of the salary and you use use it in where clause to get Nth maximum value</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-70282</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 11 May 2010 08:12:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-70282</guid>
		<description><![CDATA[Why do you want to do this?
The following link has some methods that dont use TOP, min or max

Refer this
http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx]]></description>
		<content:encoded><![CDATA[<p>Why do you want to do this?<br />
The following link has some methods that dont use TOP, min or max</p>
<p>Refer this<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-70280</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 11 May 2010 08:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-70280</guid>
		<description><![CDATA[Note that ROWCOUNT will not be supported (for INSERT, UPDATE and DELETE) in future release of the SQL Server. You should use TOP]]></description>
		<content:encoded><![CDATA[<p>Note that ROWCOUNT will not be supported (for INSERT, UPDATE and DELETE) in future release of the SQL Server. You should use TOP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-70278</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 11 May 2010 08:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-70278</guid>
		<description><![CDATA[You should relplace N with a specific value
If you use 5, it means 5th maximum]]></description>
		<content:encoded><![CDATA[<p>You should relplace N with a specific value<br />
If you use 5, it means 5th maximum</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-70276</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 11 May 2010 07:58:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-70276</guid>
		<description><![CDATA[Refer method 3
http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx

It is equalent to this method
The idea is to generate serial no based on the value and compare it in the where clause]]></description>
		<content:encoded><![CDATA[<p>Refer method 3<br />
<a href="http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx</a></p>
<p>It is equalent to this method<br />
The idea is to generate serial no based on the value and compare it in the where clause</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sambit</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-70235</link>
		<dc:creator><![CDATA[Sambit]]></dc:creator>
		<pubDate>Tue, 11 May 2010 04:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-70235</guid>
		<description><![CDATA[Thanks for your query.

Regards,
Sambit]]></description>
		<content:encoded><![CDATA[<p>Thanks for your query.</p>
<p>Regards,<br />
Sambit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhirendra</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-69786</link>
		<dc:creator><![CDATA[Dhirendra]]></dc:creator>
		<pubDate>Sat, 08 May 2010 11:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-69786</guid>
		<description><![CDATA[hi biswajit,

here N stands for level means which salary level u want to get.
like n=1,2,3,4,5,6...............n,



try it
 bye]]></description>
		<content:encoded><![CDATA[<p>hi biswajit,</p>
<p>here N stands for level means which salary level u want to get.<br />
like n=1,2,3,4,5,6&#8230;&#8230;&#8230;&#8230;&#8230;n,</p>
<p>try it<br />
 bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhirendra</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-69785</link>
		<dc:creator><![CDATA[Dhirendra]]></dc:creator>
		<pubDate>Sat, 08 May 2010 11:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-69785</guid>
		<description><![CDATA[hi pinal,

This is dhirendra!
i am quite satisfied by your query.
can u pls breifly give the steps how the query is executed.
waiting 4 ur reply.







thanks]]></description>
		<content:encoded><![CDATA[<p>hi pinal,</p>
<p>This is dhirendra!<br />
i am quite satisfied by your query.<br />
can u pls breifly give the steps how the query is executed.<br />
waiting 4 ur reply.</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tejas Shah</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-66865</link>
		<dc:creator><![CDATA[Tejas Shah]]></dc:creator>
		<pubDate>Mon, 26 Apr 2010 11:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-66865</guid>
		<description><![CDATA[Hi Saurabh,

You can use ROWCOUNT property to fetch only five records from query.

SET ROWCOUNT 5;

select * from Employees
ORDER BY Salary DESC

Here I specify ROWCOUNT property to 5, so it will select only 5 records based on query.

By this way you can get top 5 employees having high salary.

Thanks,

Tejas
SQLYoga.com]]></description>
		<content:encoded><![CDATA[<p>Hi Saurabh,</p>
<p>You can use ROWCOUNT property to fetch only five records from query.</p>
<p>SET ROWCOUNT 5;</p>
<p>select * from Employees<br />
ORDER BY Salary DESC</p>
<p>Here I specify ROWCOUNT property to 5, so it will select only 5 records based on query.</p>
<p>By this way you can get top 5 employees having high salary.</p>
<p>Thanks,</p>
<p>Tejas<br />
SQLYoga.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: saurabh</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-66819</link>
		<dc:creator><![CDATA[saurabh]]></dc:creator>
		<pubDate>Mon, 26 Apr 2010 06:02:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-66819</guid>
		<description><![CDATA[Hi,

I want to get top 5 salary from employee table without using sql function  top and min or max.

Thanks]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I want to get top 5 salary from employee table without using sql function  top and min or max.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: biswajit</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-63744</link>
		<dc:creator><![CDATA[biswajit]]></dc:creator>
		<pubDate>Thu, 25 Mar 2010 14:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-63744</guid>
		<description><![CDATA[i use sql 2008 and this query gives error .the error shows &quot;Invalid column name &#039;N&#039;.&quot; what is error pls tell me]]></description>
		<content:encoded><![CDATA[<p>i use sql 2008 and this query gives error .the error shows &#8220;Invalid column name &#8216;N&#8217;.&#8221; what is error pls tell me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-62422</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Mon, 08 Mar 2010 14:35:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-62422</guid>
		<description><![CDATA[Then try methods 4 and 5 specified in this link

http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx]]></description>
		<content:encoded><![CDATA[<p>Then try methods 4 and 5 specified in this link</p>
<p><a href="http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx" rel="nofollow">http://beyondrelational.com/blogs/madhivanan/archive/2007/08/27/find-nth-maximum-value.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhivanan</title>
		<link>http://blog.sqlauthority.com/2007/04/27/sql-server-query-to-retrieve-the-nth-maximum-value/#comment-61273</link>
		<dc:creator><![CDATA[Madhivanan]]></dc:creator>
		<pubDate>Tue, 16 Feb 2010 15:11:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.sqlauthority.com/2007/04/27/query-to-retrieve-the-nth-maximum-value/#comment-61273</guid>
		<description><![CDATA[select max(salary) as salary from
(
select salary from table_a
union all
select salary from table_b
) as t]]></description>
		<content:encoded><![CDATA[<p>select max(salary) as salary from<br />
(<br />
select salary from table_a<br />
union all<br />
select salary from table_b<br />
) as t</p>
]]></content:encoded>
	</item>
</channel>
</rss>

