How to get employee name from employee table which is the
fiveth highest salary of the table

Answer Posted / shashidhar

SELECT EMP_NAME (SELECT ROWNUM R,B.* FROM employee B ORDER
BY SALARY DESC) A
WHERE A.R = 5

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I remove all records from a table?

771


How to select random rows from a table?

734


What is asqueryable?

714


define join and explain different type of joins? : Sql dba

736


What do we need to check in database testing?

728






How to generate a salary slip like jan 1000 1000 feb 1000 2000 ... dec 1000 12000

1896


How do you delete data from a table?

735


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

786


What is dcl in sql?

698


how to drop an existing index in mysql? : Sql dba

716


Explain what is a view?

797


How do I sort a table in sql?

769


What is the trigger in sql?

700


What does sign mean sql?

761


What is normalisation and its types?

729