Thread: Top 3rd value
View Single Post
  #4 (permalink)  
Old 07-28-2007, 05:36 AM
Unregistered
 
Posts: n/a
Arrow ANY answer. Re: Top 3rd value

Quote:
Originally Posted by Mahesh RG View Post
Hello can any buddy tel me can i write a query to get the top 3rd, 4th value from the table 'emp'?
SQL Qureies for retriew 3rd max salary:
Select max(salary) from emp where salary not in (select top 2 salary from emp order by salary desc)

Thanks & Regards
Alagu....
Reply With Quote