how to find nth highest salary
Answer Posted / venuprasadh
SELECT MIN(SALARY) AS Salary FROM user WHERE SALARY IN
(SELECT DISTINCT TOP 3 SALARY FROM user ORDER BY SALARY DESC);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between a function and a trigger?
If user is owning any SQL Objects, can we drop that user
What is sql server used for?
How to list all field names in the result set using mssql_field_name()?
Why we use trigger in sql server with example?
How to send email from database?
What is the difference between clustered and a non-clustered index?
What is database mirroring?
1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?
In what sequence sql statement is processed?
what number files will a information contain in SQL Server? How many forms of information files exist in SQL Server? How many of those files can exist for a single database?
Tell me what is the order in which the sql query is executed?
can an automatic recovery be initiated by a user? : Sql server administration
what are the steps you will take to improve performance of a poor performing query? : Sql server database administration
how to create “alternate row colour”?