how to find nth highest salary
Answer Posted / ravikiran
select * from employee.e1 where (n-1) =
( select (distinct b.salary ) from employee.e2 where e1.salary > e2.salary
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is role playing dimension with two examples? : sql server analysis services, ssas
How many types of attribute relationships are there? : sql server analysis services, ssas
What is #temp and @table variable in SQL server?
How can sql server instances be hidden?
How to get a list of columns using the "sys.columns" view in ms sql server?
What is the Disadvantage of indexed sequential file.
Why do we partition data?
Tell about MOM Tool(Microsoft Operator Manager)?
What are the underflow and overflow behaviors on float literals?
How to loop through result set objects using mssql_fetch_array()?
How to test values returned by a subquery with the in operator?
How many non clustered indexes there can be on table ?
Why are you getting errors when creating a new odbc dsn?
What are actions, how many types of actions are there, explain with example? : sql server analysis services, ssas
What is a trigger and its types?