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

What do you mean by flat file database?

555


What is 4NF?

593


Which is super key?

522


Explain about recursive stored procedures?

511


What is difference between two tier and three tier?

469






What is E-R model?

570


Does storing of data in stored procedures increase the access time? Explain?

859


What are the primitive operations common to all record management systems?

645


what is the difference between LENGTH AND SIZE?

2188


What is the difference between a user defined function and a stored procedure?

557


Describe the three levels of data abstraction?

584


What are the three tiers in a 3 tier architecture?

489


What is end user data?

505


What is database architecture?

459


What are the different phases of transaction?

536