how to find nth highest salary
Answer Posted / balindra sahani
select max(salary) from table_name where max(salary)not
in(select top(n) from table_name order by salary asc)
where n=nth number salary
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is multi-statement table-value user-defined function?
What are magic tables in sql server?
What is recompile sql server?
What is difference between Datepart() and Datename() in SqlServer?
Where views are stored in sql server?
Does sql server 2000 full-text search support clustering?
What gets stored inside msdb database?
What are a database and a data warehouse?
Do you know the isolation level that sql server support?
How to check status of stored procedure in sql server?
what are questions asked in TCS for database tester (sqlserver)for 2-3 exp?
What is a cursor, index in sql?
How to create dbo table in sql server?
How to download and install microsoft .net framework version 2.0?
How to write the storeprocedure with in the store procedure? and how can we write the store procedure with in a trigger vice versa? plz post me the exact answer?