how to findout the 100th maximum salary

Answer Posted / sanjay kumar

Select * from
(select distinct salary, dense_rank()over (Order by salary desc) rk from emp)
Where rk=100;

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which join is like inner join?

557


How do you get column names only for a table (sql server)?

663


Why indexing is needed?

514


Which constraints we can use while creating database in sql?

609


How is debugging done?

529






Why should I use postgresql?

560


Define concurrency control. : Transact sql

582


What is a database event trigger?

590


What is column?

544


what are the authentication modes in sql server? How can it be changed? : Sql dba

699


Do we need commit after truncate?

606


What is the use of triggers?

541


What is cold data?

499


What is inner join in sql?

584


what is the difference between undefined value and null value? : Sql dba

560