how to find nth highest salary
Answer Posted / affu
select salary from table t where n-1=(select distinct count
(sal) from table t1 where t1.sal>t.sal)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain different types of index?
What is a non-clustered index?
What happens when the SQL Azure database reaches Max Size?
What are the different types of stored procedures?
How to fine-tune reports?
How to convert a numeric expression from one data type to another?
Explain transaction isolation levels in sql server?
What are the advantages dts has over bcp?
How to search for a string in all stored procedure in sql server?
How many replicas are maintained for each sql azure db?
What is candidate key with example?
What is a performance monitor?
What are the advantages of using third-party tools?
What are diverse clauses that form a part of sql?
Which tools are available to manage SQL Azure databases and servers?