how to find nth highest salary
Answer Posted / elumalai.k
select salary from tablename t1
where n=(select count(*)from tablename t2
where t1.salary<=t2.salary)
| Is This Answer Correct ? | 16 Yes | 16 No |
Post New Answer View All Answers
What are the characteristics of modern DBMS?
How to rebuild master databse?
What is a file group?
what are the basic functions for master, msdb, model, tempdb and resource system databases? : sql server database administration
Explain trigger and its types?
If the job running very slow what is the action you do
What are different types of replication in sql server?
How can you start sql server in different modes?
How do I save a stored procedure in sql server?
Explain the flow of creating a cube? : sql server analysis services, ssas
What gets stored inside msdb database?
Define primary key?
What is a collation in ms sql server?
What are the character string functions supported by sql server 2005?
How to get a list of columns in a view using the "sp_help" stored procedure?