how to find nth highest salary
Answer Posted / brahma
select * from table_name t1 where (n-1)=
(select count(distinct(column_name)) from table_name t2
where t2.column_name>t1.column_name)
| Is This Answer Correct ? | 101 Yes | 47 No |
Post New Answer View All Answers
What is partition index in sql server?
What is the difference between join and inner join?
Do you know what are different types of replication in sql server?
What are magic tables in sql server?
your distribution database is full what will u do
What is an expression in ms sql server?
how to use DTS package in 2000,2005,2008 in sql server
What is ssrs?
Why do you need a sql server?
Explain trigger classes i.e. Instead of and after trigger?
What are page splits? : SQL Server Architecture
Where sql server usernames and passwords are stored in a sql server?
What is SubQuery in SQL Server 2008
What do mean by xml datatype?
List the different types of collation sensitivities in sql server?