how to find nth highest salary
Answer Posted / harninder
select `salary` from test t1 where 0=(select count(*) from
test where t1.`salary`<`salary`)
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
What is database replication? What are the different types of replication you can set up in sql server?
What are the differences between ms sql server & oracle?
List layers of abstraction microsoft architectured to provide relational db through cloud platform ?
How to create a view on an existing table in ms sql server?
What will be the maximum number of index per table?
How to filter out duplications in the returning rows in ms sql server?
Write a sql query to sort on different column name according to the parameters passed in the function?
How you can add messages to the nt event log from within a stored procedure?
Is it possible to import data directly from t-sql commands without using sql server integration services? If so, what are the commands?
Can you explain important index characteristics?
Can we hide the definition of a stored procedure from a use?
How to generate create procedure script on an existing stored procedure?
Explain the disadvantages of cursors?
what is a join? : Sql server database administration
How to query multiple tables jointly?