how to find nth highest salary
Answer Posted / kavitha.r
Sorry. This one is correct
select top 1 salary from employee where salary in (select
distinct
top n salary from employee order by salary desc) order by
salary asc
| Is This Answer Correct ? | 44 Yes | 18 No |
Post New Answer View All Answers
How to use clusters?
How to add a new dsn with the odbc driver for sql server?
Difference between report and query parameter.
How does a profiler work?
what are user defined datatypes? : Sql server database administration
What is the difference between resultset and resultsetmetadata?
How do I delete a sql server database?
Write the queries for commands like Create Table, Delete table, Drop Table etc.
What is correlated subquery in sql server?
What is temporal data type?
Is it possible for a stored procedure to call itself or recursive stored procedure?
Does view occupy space?
How much memory that we are using in Logshipping Concept?
How connect excel to sql server?
What the different topologies in which replication can be configured?