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
Where is localdb stored?
How to find the source of a table in sql server?
Do you know what are the reporting services components?
Can a unique index be created on a column, which contains null?
What is the difference between implicit and explicit transaction?
Explain the various types of concurrency problem?
How to run sql server 2005 books online on your local system?
How do clustered indexes store data?
what is denormalization? : Sql server database administration
What is the function of inner join?
What is a with(nolock)?
How many types of relations are there between dimension and measure group? : sql server analysis services, ssas
You want to use bids to deploy a report to a different server than the one you chose in the report wizard. How can you change the server url?
What is save transaction and save point?
What is the recursive stored procedure in sql server?