how to find nth highest salary
Answer Posted / manshul
select * from employee e, (select salary, rownum rn from
(select distinct salary from employee order by salary desc))
T where T.sal= e.sal and T.rn = 4
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is best institute to Learn DotNET And SQL in chennai?
How to concatenate two character strings together?
What is similarity and difference between truncate and delete in sql?
explain what is a deadlock and what is a live lock? How will you go about resolving deadlocks? : Sql server database administration
What are audit control procedures?
What is a data source or ds? : sql server analysis services, ssas
Differentiate between mongodb vs. Sql server?
What is the beast way to write CTE in SQL Server ?
Is port 1433 secure?
What is ms sql server reporting services?
How to invoke a trigger on demand?
How many instances per computer are there in sql server 2000?
Which tcp/ip port does the sql server run on? How can it be changed?
what is datawarehouse?
How to connect to SQL Azure Database by using sqlcmd?