how to find the fifth highest salary?

Answer Posted / soni

select MIN(salary) from (select distinct salary from employees
order by salary desc) where ROWNUM < 6 ;

ITS SELECTING from employees table 5th highest salary

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the three levels of data abstraction?

529


What is the difference between layer and tier?

479


What are pages and extents? : sql server architect

477


Explain about the difficulties faced by the database developer in implementing pre compiled statements?

417


What is internal database?

461






What is DML (Data Manipulation Language)?

518


Do you know what the restrictions applicable while creating views are? : sql server architect

458


What is Set-at-a-time or Set-oriented?

524


What is a query?

523


How do you communicate with an RDBMS?

509


When is a functional dependency F said to be minimal?

457


Explain the truncate command? : sql server architect

436


What is Fully Functional dependency?

558


What is one tier architecture?

448


What is Multivalued dependency?

468