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

What are the rules to be applied to nulls whilst doing comparisons?

750


How do you write a subquery?

517


Why is partition used in sql?

547


Can you have more than one trigger on a table?

530


Which normal form is best?

511






What is a column in a table?

548


What is loop in pl sql?

570


What are different types of functions in sql?

511


What is difference between rank () row_number () and dense_rank () in sql?

575


how many sql dml commands are supported by 'mysql'? : Sql dba

567


Any attempt to navigate programmatically to disabled form in a call_form stack is allowed?

576


What are pl sql data types?

547


What are the operators in sql?

523


Why stored procedures are faster than query?

566


How do I enable sql encryption?

518