how to find the fifth highest salary?

Answer Posted / nagireddy karri

select min(emp_sal) from (select (Emp_sal) from(select
Emp_sal from emp order by emp_sal desc) and rownum<=5)

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are the resulting relations of PRODUCT and JOIN operation the same?

505


What is 4NF?

507


State the different extensions for stored procedures?

466


What is Weak Entity set?

449


What is System R? What are its two major subsystems?

437






What is database architecture? : sql server architect

474


Brief theory of Network, Hierarchical schemas and their properties

453


What is difference between 2 tier and 3 tier architecture?

436


Which part of the RDBMS takes care of the data dictionary? How

637


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

514


What is 3NF?

526


Explain about the return statement?

482


Explain the truncate command? : sql server architect

432


What is Data Independence?

531


What is extension and intension?

524