how to findout the 100th maximum salary

Answer Posted / siva prasad

SELECT B.* FROM
(SELECT A.*,DENSE_RANK() OVER(ORDER BY SAL DESC) V_SAL
FROM EMP A )B
WHERE V_SAL = 100

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which certification is best for sql?

725


what is the difference between primary key and unique key? : Sql dba

708


How delete a row in sql?

717


Explain what is table in a database?

783


What are inbuilt functions in sql?

794






What is a unique constraint?

809


How do you modify a trigger?

695


What is data manipulation language?

880


How is sql used in oracle?

756


What's the procedure?

665


How can you know that statistics should be updated?

799


How do I save a sql query?

735


What is pl sql in oracle?

785


Can a varchar be a primary key?

698


Why we use cross join?

703