how to check the 3rd max salary from an employee table?

Answer Posted / pavan ranga

select top 1 (salary),Name from customers
where salary not in (Select top 2 (Salary) from customers)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a data manipulation language?

573


What is dense_rank?

540


What is meant by truncate in sql?

528


What is difference between hql and native sql?

585


How can the performance of a trigger be improved?

592






What does over partition by mean in sql?

535


What do you mean by query optimization?

552


How can we optimize a sql query?

578


What is the purpose of the sql select top clause?

557


How do I install microsoft sql?

531


What does the sign mean in sql?

509


What is a sql schema used for?

546


Explain the difference between 'between' & 'and' operators in sql

531


what are the join types in tsql? : Transact sql

577


What operating systems are supported by oracle sql developer?

522